]> err.no Git - dotfiles/commitdiff
try to fix solaris /bin/sh b0rkenness
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Sun, 27 Apr 2003 08:47:58 +0000 (08:47 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Sun, 27 Apr 2003 08:47:58 +0000 (08:47 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@133 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

Xclients-default

index c64363c64e9c0562bb699e60c5bd5c3b987dd605..93814b1db39f4a8be257bfb88dbce89e13becef5 100755 (executable)
@@ -1,5 +1,12 @@
 #! /bin/sh
 
+# SunOS /bin/sh is broken wrt local. *sigh*
+if test "`uname -s`" = "SunOS" -a "$RUNNING_UNDER_BASH" = ""; then
+    RUNNING_UNDER_BASH=1
+    export RUNNING_UNDER_BASH
+    exec bash $0 "$@"
+fi
+
 # Debugging
 echo `date`
 . ~/.environment