diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-10-23 20:01:33 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-10-23 20:01:33 +0200 |
commit | 8a4fd8c4688a7fb6f014fadc807213950ccb9d4f (patch) | |
tree | 000adeb84d11b883e35a7e580628cf0b636890c8 /application | |
parent | 61ad48058889c50dbf54637ddf4edecdbd2f52de (diff) | |
download | MultiMC-8a4fd8c4688a7fb6f014fadc807213950ccb9d4f.tar MultiMC-8a4fd8c4688a7fb6f014fadc807213950ccb9d4f.tar.gz MultiMC-8a4fd8c4688a7fb6f014fadc807213950ccb9d4f.tar.lz MultiMC-8a4fd8c4688a7fb6f014fadc807213950ccb9d4f.tar.xz MultiMC-8a4fd8c4688a7fb6f014fadc807213950ccb9d4f.zip |
GH-1301 fix linux runner script argument escaping
Diffstat (limited to 'application')
-rwxr-xr-x | application/package/linux/MultiMC | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/package/linux/MultiMC b/application/package/linux/MultiMC index 78bc77e5..0a8d0470 100755 --- a/application/package/linux/MultiMC +++ b/application/package/linux/MultiMC @@ -35,13 +35,13 @@ if [ "x$DEPS_LIST" = "x" ]; then chmod +x "${MMC_DIR}/bin/MultiMC" # Run MultiMC - "${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" $@ + "${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" "$@" # Run MultiMC in valgrind - # valgrind --log-file="valgrind.log" --leak-check=full --track-origins=yes "${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" $@ + # valgrind --log-file="valgrind.log" --leak-check=full --track-origins=yes "${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" "$@" # Run MultiMC with callgrind, delay instrumentation - # valgrind --log-file="valgrind.log" --tool=callgrind --instr-atstart=no "${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" $@ + # valgrind --log-file="valgrind.log" --tool=callgrind --instr-atstart=no "${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" "$@" # use callgrind_control -i on/off to profile actions # Exit with MultiMC's exit code. |