Minor cleanup in linux launcher scripts
This commit is contained in:
parent
8896cd8c68
commit
a44a48ae4e
2 changed files with 6 additions and 6 deletions
|
@ -25,7 +25,7 @@ if [ ! \( -t 0 -o -S /dev/stdin \) ]; then
|
|||
|
||||
if command -v x-terminal-emulator >/dev/null; then
|
||||
# Linux.
|
||||
x-terminal-emulator -e "$0";
|
||||
x-terminal-emulator -e "cd \"${maindir}\";\"./${me}\"";
|
||||
|
||||
elif command -v osascript >/dev/null; then
|
||||
# OSX.
|
||||
|
@ -44,12 +44,12 @@ EOF
|
|||
fi
|
||||
|
||||
# Finally, the payload.
|
||||
cd "${maindir}"
|
||||
cd "${maindir}";
|
||||
# - - -
|
||||
java -jar modman.jar
|
||||
java -jar modman.jar;
|
||||
# - - -
|
||||
|
||||
if [ "${ingui}" = "1" ]; then
|
||||
read -p "Press enter to continue" dummyvar
|
||||
read -p "Press enter to continue" dummyvar;
|
||||
fi
|
||||
exit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue