Created
January 31, 2012 23:34
-
-
Save bartenbach/1713816 to your computer and use it in GitHub Desktop.
This file contains 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/sh | |
# Blake's super awesome jar signing script for *nix | |
if [ -f ~/NetBeansProjects/tpcspades/dist/TPCSpades.jar ] | |
then | |
echo "Jar found" | |
if [ -f ~/Documents/TPCGames ] | |
then | |
echo "Keystore found" | |
echo "Signing jar..." | |
jarsigner -keystore ~/Documents/TPCGames ~/NetBeansProjects/tpcspades/dist/TPCSpades.jar TPCGames | |
echo "Jar signed." | |
fi | |
else | |
echo "Jar not found" | |
exit 0 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment