Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add the magic quotes to $@ to avoid arguments with spaces in getting …

…mangled. Not that such things are in any way good, but better safe than sorry.

Bourne shell syntax really is barbaric.
  • Loading branch information...
commit c052aed22e0e81a196817a7e26b0ff59800c3c58 1 parent e92b676
Matthew Boyle authored
View
2  dev_scripts/restart_munin-node
@@ -1,4 +1,4 @@
#!/bin/bash
./dev_scripts/stop_munin-node
-./dev_scripts/start_munin-node $@
+./dev_scripts/start_munin-node "$@"
View
2  dev_scripts/run
@@ -24,4 +24,4 @@ if [ "$RUN" == "" ]; then
usage
fi
-env PERL5LIB=$DESTDIR/$PERLSITELIB $RUN $@
+env PERL5LIB=$DESTDIR/$PERLSITELIB $RUN "$@"
View
2  dev_scripts/start_munin-node
@@ -10,6 +10,6 @@ cd $BASEDIR
if [ -f $DESTDIR/var/run/munin/munin-node.pid ]; then
echo "Pid file found. Not starting"
else
- env PERL5LIB=$DESTDIR/$PERLSITELIB $DESTDIR/opt/munin/sbin/munin-node $@
+ env PERL5LIB=$DESTDIR/$PERLSITELIB $DESTDIR/opt/munin/sbin/munin-node "$@"
fi
tail -f $DESTDIR/var/log/munin/munin-node.log
Please sign in to comment.
Something went wrong with that request. Please try again.