]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - tools/makesrcdist
Re-add gpg command.
[thirdparty/cups.git] / tools / makesrcdist
index 67ada0aca835975db6af1adc18a7a48bfffe3a68..6a9ea24e71ca337d64f3a223b3c1410af3080948 100755 (executable)
@@ -81,6 +81,7 @@ else
 fi
 
 fileurl=`echo $fileurl | sed -e '1,$s/\\//\\\\\\//g'`
+file="cups-$fileversion-source.tar.gz"
 
 echo Exporting $fileversion...
 rm -rf $TMPDIR/cups-$version
@@ -97,7 +98,11 @@ rm -rf tools .gitignore
 cd ..
 
 echo Archiving...
-tar czf cups-$fileversion-source.tar.gz cups-$version
+tar czf $file cups-$version
+
+echo Signing...
+test -f $file.sig && rm -f $file.sig
+gpg --detach-sign $file
 
 echo Removing temporary files...
 rm -rf cups-$version