summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@users.noreply.github.com>2019-06-08 15:53:01 +0200
committerGitHub <noreply@github.com>2019-06-08 15:53:01 +0200
commit53ad5cb436ea4bffb93c7d26a1be43690a21bf0d (patch)
tree15b6365a7c48ef86da1405a57dd213b9e1572f8e
parent86850ef5d0195fb022cda7481b43496da722911c (diff)
parentd87bd4b58837cf99416e08345def85a9f72379a4 (diff)
downloadMultiMC-53ad5cb436ea4bffb93c7d26a1be43690a21bf0d.tar
MultiMC-53ad5cb436ea4bffb93c7d26a1be43690a21bf0d.tar.gz
MultiMC-53ad5cb436ea4bffb93c7d26a1be43690a21bf0d.tar.lz
MultiMC-53ad5cb436ea4bffb93c7d26a1be43690a21bf0d.tar.xz
MultiMC-53ad5cb436ea4bffb93c7d26a1be43690a21bf0d.zip
Merge pull request #2684 from isoraqathedh/patch-1
Pass command line arguments through to the executable
-rwxr-xr-xapplication/package/ubuntu/multimc/opt/multimc/run.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/package/ubuntu/multimc/opt/multimc/run.sh b/application/package/ubuntu/multimc/opt/multimc/run.sh
index f4f2fa42..c493a513 100755
--- a/application/package/ubuntu/multimc/opt/multimc/run.sh
+++ b/application/package/ubuntu/multimc/opt/multimc/run.sh
@@ -22,12 +22,12 @@ deploy() {
runmmc() {
cd ${INSTDIR}
- ./MultiMC
+ ./MultiMC "$@"
}
if [[ ! -f ${INSTDIR}/MultiMC ]]; then
deploy
- runmmc
+ runmmc "$@"
else
- runmmc
+ runmmc "$@"
fi