diff options
author | Giampaolo Mancini | 2017-10-02 00:42:05 +0200 |
---|---|---|
committer | Giampaolo Mancini | 2017-10-02 00:42:05 +0200 |
commit | eba029a2da994eb67c50284d4b6a95c1dcfb03bc (patch) | |
tree | 3eb4d45b11ef882db9f6a53f8acaab6196402136 | |
parent | 682813ac6b48e957170ab9b9dbfdf4415228573b (diff) | |
download | aur-eba029a2da994eb67c50284d4b6a95c1dcfb03bc.tar.gz |
Fix parameter passing
-rw-r--r-- | broker.sh | 3 | ||||
-rw-r--r-- | broker_mqtts.sh | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/broker.sh b/broker.sh index 80522e6b6731..d6dcf3576488 100644 --- a/broker.sh +++ b/broker.sh @@ -1,4 +1,5 @@ #!/usr/bin/env sh RSMB_PREFIX=/usr/lib/rsmb-git +INIFILE=$(realpath $1) cd $RSMB_PREFIX -exec ./broker $@ +exec ./broker $INIFILE diff --git a/broker_mqtts.sh b/broker_mqtts.sh index 1abcd1f0de23..0023488acf82 100644 --- a/broker_mqtts.sh +++ b/broker_mqtts.sh @@ -1,5 +1,6 @@ #!/usr/bin/env sh RSMB_PREFIX=/usr/lib/rsmb-git +INIFILE=$(realpath $1) cd $RSMB_PREFIX -exec ./broker_mqtts $@ +exec ./broker_mqtts $INIFILE |