Permalink
Browse files

Quote $@ for safety, as suggested by Jon

  • Loading branch information...
1 parent 79aba09 commit ffd4597a68bd2599aa4c003794c49d3be38bccf1 @Vagabond Vagabond committed Oct 5, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 rel/files/erl
  2. +1 −1 rel/files/riak
  3. +1 −1 rel/files/riak-admin
  4. +1 −1 rel/files/search-cmd
View
@@ -4,7 +4,7 @@
if [ `uname -s` = 'SunOS' -a "${POSIX_SHELL}" != "true" ]; then
POSIX_SHELL="true"
export POSIX_SHELL
- exec /usr/bin/ksh $0 $@
+ exec /usr/bin/ksh $0 "$@"
fi
unset POSIX_SHELL # clear it so if we invoke other scripts, they run as ksh as well
View
@@ -6,7 +6,7 @@
if [ `uname -s` = 'SunOS' -a "${POSIX_SHELL}" != "true" ]; then
POSIX_SHELL="true"
export POSIX_SHELL
- exec /usr/bin/ksh $0 $@
+ exec /usr/bin/ksh $0 "$@"
fi
unset POSIX_SHELL # clear it so if we invoke other scripts, they run as ksh as well
View
@@ -4,7 +4,7 @@
if [ `uname -s` = 'SunOS' -a "${POSIX_SHELL}" != "true" ]; then
POSIX_SHELL="true"
export POSIX_SHELL
- exec /usr/bin/ksh $0 $@
+ exec /usr/bin/ksh $0 "$@"
fi
unset POSIX_SHELL # clear it so if we invoke other scripts, they run as ksh as well
View
@@ -4,7 +4,7 @@
if [ `uname -s` = 'SunOS' -a "${POSIX_SHELL}" != "true" ]; then
POSIX_SHELL="true"
export POSIX_SHELL
- exec /usr/bin/ksh $0 $@
+ exec /usr/bin/ksh $0 "$@"
fi
unset POSIX_SHELL # clear it so if we invoke other scripts, they run as ksh as well

0 comments on commit ffd4597

Please sign in to comment.