Created
January 18, 2014 10:56
-
-
Save rtammekivi/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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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