Skip to content

Instantly share code, notes, and snippets.

@Blefish
Created January 18, 2014 10:56
Show Gist options
  • Save Blefish/8488916 to your computer and use it in GitHub Desktop.
Save Blefish/8488916 to your computer and use it in GitHub Desktop.
Testsign wrapper for easy zip signing. Place in ~/bin/testsign Make sure testsign.jar exists in the specific directory (~/apps/testsign.jar) Usage: testsign <zip to be signed>
#!/bin/bash
if [ "$#" == 1 ] && [ $1 == *.zip* ]
then
java -classpath ~/apps/testsign.jar testsign $1 ${1%.*}-signed.zip
else
echo "Usage: testsign <zip to be signed>"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment