GH-1301 fix linux runner script argument escaping

This commit is contained in:
Petr Mrázek 2015-10-23 20:01:33 +02:00
parent 61ad480588
commit 8a4fd8c468

View File

@ -35,13 +35,13 @@ if [ "x$DEPS_LIST" = "x" ]; then
chmod +x "${MMC_DIR}/bin/MultiMC" chmod +x "${MMC_DIR}/bin/MultiMC"
# Run MultiMC # Run MultiMC
"${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" $@ "${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" "$@"
# Run MultiMC in valgrind # 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 # 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 # use callgrind_control -i on/off to profile actions
# Exit with MultiMC's exit code. # Exit with MultiMC's exit code.