diff options
author | Cesar Crusius <ccrusius@cisco.com> | 2015-09-18 12:01:51 -0700 |
---|---|---|
committer | Cesar Crusius <ccrusius@cisco.com> | 2015-09-18 12:01:51 -0700 |
commit | 65ee732d71308e3f79fbb828215f3510cfb66144 (patch) | |
tree | f8f24e81d1deaaa07fb61efd06f40d75c8f1b34c /priv | |
parent | 5119baf9cb8327f9f682f9446d923a1a3cf89a13 (diff) | |
download | rebar-65ee732d71308e3f79fbb828215f3510cfb66144.tar.gz |
Fix #544
Bring back Solaris' ucb PATH just in case.
Diffstat (limited to 'priv')
-rwxr-xr-x | priv/templates/simplenode.runner | 4 |
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 |