diff options
Diffstat (limited to 'dtools/bin/make-upload')
-rwxr-xr-x | dtools/bin/make-upload | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dtools/bin/make-upload b/dtools/bin/make-upload new file mode 100755 index 000000000..73a0feb63 --- /dev/null +++ b/dtools/bin/make-upload @@ -0,0 +1,12 @@ +#!/bin/bash + +read -s -p "GPG Passphrase: " passphrase + +for file in "$@" +do + echo "directory: gnuradio" > $file.directive + echo "$passphrase" | gpg --passphrase-fd 0 --clearsign $file.directive + rm $file.directive + echo "$passphrase" | gpg --passphrase-fd 0 -b $file +done +passphrase="XYZabcdefhghakdsj;lasjdf;ajfdiuiwjr;lajv;laoisfuaoieurlkajdsflkajsdfoiuew" |