Fix typo. Show usage if invalid argument specified

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 2 years ago committed by GitHub
parent 6258a2666a
commit fce297898c
  1. 2
      Java/scripts/md5
  2. 5
      Java/scripts/release.sh

@ -4,6 +4,6 @@ clean.sh:668a2f9b568c55f6a044a509315032f6 -
commit.sh:5e4448db9ad48e72ec3a1ff4f5763b41 - commit.sh:5e4448db9ad48e72ec3a1ff4f5763b41 -
jar2.sh:7977fc138ee5db798d08c34734f0be93 - jar2.sh:7977fc138ee5db798d08c34734f0be93 -
jar.sh:821d5a109324d405f05c35c4bb129375 - jar.sh:821d5a109324d405f05c35c4bb129375 -
release.sh:33ea22e29252fae1c750d534dbf4b0aa - release.sh:3e6149944238387b63cccc3ee93293fc -
update.sh:3be721658983183efa395984acd96b03 - update.sh:3be721658983183efa395984acd96b03 -
zip.sh:273f5a83b80a8e54022d60514dfeec0a - zip.sh:273f5a83b80a8e54022d60514dfeec0a -

@ -1,4 +1,4 @@
#Use ./sig package <windows|mac|linux> to create a custom installer based on OS. #Use ./sig release <windows|mac|linux> to create a custom installer based on OS.
#Java #Java
source ${LANGUAGE}/scripts/version_info source ${LANGUAGE}/scripts/version_info
if [ "$1" = "windows" ];then if [ "$1" = "windows" ];then
@ -15,4 +15,7 @@ elif [ "$1" = "linux" ];then
jpackage --app-image RabiCloneOut/RabiClone --name RabiClone jpackage --app-image RabiCloneOut/RabiClone --name RabiClone
cd RabiClone cd RabiClone
echo "Done!" echo "Done!"
else
echo "Usage: "
echo " ./sig package <windows|mac|linux>"
fi fi
Loading…
Cancel
Save