Skip to content
Snippets Groups Projects
Commit 38b0f5d3 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Some OS's (eg Dynix 3's (surprise!)) /bin/test don't understand -x, and

print an error message.

Rev: bin/smartlink:1.18
parent d3fa6e71
No related branches found
No related tags found
No related merge requests found
......@@ -77,9 +77,9 @@ while test x$1 = x -a x$# != x0; do
shift
done
if test -x /usr/bin/uname ; then
if test -x /usr/bin/uname 2>/dev/null; then
UNAME=`/usr/bin/uname -sr`
elif test -x /bin/uname ; then
elif test -x /bin/uname 2>/dev/null; then
UNAME=`/bin/uname -sr`
else
UNAME=unknown
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment