Merge pull request #2684 from isoraqathedh/patch-1

Pass command line arguments through to the executable
This commit is contained in:
Petr Mrázek 2019-06-08 15:53:01 +02:00 committed by GitHub
commit 53ad5cb436
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,12 +22,12 @@ deploy() {
runmmc() { runmmc() {
cd ${INSTDIR} cd ${INSTDIR}
./MultiMC ./MultiMC "$@"
} }
if [[ ! -f ${INSTDIR}/MultiMC ]]; then if [[ ! -f ${INSTDIR}/MultiMC ]]; then
deploy deploy
runmmc runmmc "$@"
else else
runmmc runmmc "$@"
fi fi