Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Quote $@ for safety, as suggested by Jon

  • Loading branch information...
commit 6d4477ff4ff5398651d523878271efe8ea08fad3 1 parent 72c9ce5
@Vagabond Vagabond authored
View
2  rel/files/erl
@@ -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
2  rel/files/riak
@@ -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
2  rel/files/riak-admin
@@ -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
2  rel/files/search-cmd
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.