summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorCesar Crusius <ccrusius@cisco.com>2015-09-18 12:01:51 -0700
committerCesar Crusius <ccrusius@cisco.com>2015-09-18 12:01:51 -0700
commit65ee732d71308e3f79fbb828215f3510cfb66144 (patch)
treef8f24e81d1deaaa07fb61efd06f40d75c8f1b34c /priv
parent5119baf9cb8327f9f682f9446d923a1a3cf89a13 (diff)
downloadrebar-65ee732d71308e3f79fbb828215f3510cfb66144.tar.gz
Fix #544
Bring back Solaris' ucb PATH just in case.
Diffstat (limited to 'priv')
-rwxr-xr-xpriv/templates/simplenode.runner4
1 files changed, 4 insertions, 0 deletions
diff --git a/priv/templates/simplenode.runner b/priv/templates/simplenode.runner
index ba43817..814b112 100755
--- a/priv/templates/simplenode.runner
+++ b/priv/templates/simplenode.runner
@@ -6,6 +6,10 @@
if [ `uname -s` = 'SunOS' -a "${POSIX_SHELL}" != "true" ]; then
POSIX_SHELL="true"
export POSIX_SHELL
+ # To support 'whoami' on old Solaris systems, add /usr/ucb to path
+ # (New Solaris systems do not have 'whoami')
+ PATH=/usr/ucb:$PATH
+ export PATH
exec /usr/bin/ksh $0 "$@"
fi