summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-02-19 18:06:49 +0100
committerWerner Koch <wk@gnupg.org>1999-02-19 18:06:49 +0100
commit6ed3099f9e55d01d9daab2f2cbed53dad7116778 (patch)
tree60947e545ab3acb1279a100f4424dcab03918b50 /scripts
parentSee ChangeLog: Fri Feb 19 15:49:15 CET 1999 Werner Koch (diff)
downloadgnupg2-6ed3099f9e55d01d9daab2f2cbed53dad7116778.tar.xz
gnupg2-6ed3099f9e55d01d9daab2f2cbed53dad7116778.zip
See ChangeLog: Fri Feb 19 18:01:54 CET 1999 Werner KochV0-9-3
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkdiff3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/mkdiff b/scripts/mkdiff
index 914bb0a6e..d180aaade 100755
--- a/scripts/mkdiff
+++ b/scripts/mkdiff
@@ -59,11 +59,12 @@ rm $tmp_name
echo "Signing and compressing patch file"
gpg --clearsign --not-dash-escaped -u "(gnupg sig)" \
< $diff_name | gzip --best > $diff_name.gz
+rm $diff_name
echo "Checking patch file"
cd gnupg-$prev_ver
zcat ../$diff_name.gz | patch -s -p1
-rm $(find . -name "*.orig")
+rm $(find . -name "*.orig") 2>/dev/null || true
cd ..
if ! diff -urN "gnupg-$prev_ver/" "gnupg-$curr_ver/" >/dev/null ; then