]> err.no Git - dotfiles/commitdiff
workaround for SunOS broken /bin/sh
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Sat, 9 Nov 2002 09:47:05 +0000 (09:47 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Sat, 9 Nov 2002 09:47:05 +0000 (09:47 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@97 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

link-dotfiles

index d4c0567dc5e764c443229981c6344eeea3177aba..a811876094efc2b6b1ae01e36aa082d6b0d2f22d 100755 (executable)
@@ -1,5 +1,10 @@
 #! /bin/sh
 
+# SunOS /bin/sh is broken wrt local. *sigh*
+if test "`uname -s`" = "SunOS"; then
+    exec bash "$@"
+fi
+
 KNOWNMD5SUMS="b5239e7dfbecaf832e18a5377b794b09 40b31b69676f239da8a2c7f0b375b879 ef6c1cd4a3d89a2c0f6b16d209d27ab7 57a81d1c93493a29c4c3eba3490c8d2a d8e9ecd0b80102c82966a045544bbf68 e9d2739d6f3d7672222c07d901d46e21 d96c12497684c56ea77d9d1f589b0634 cc44c6693e6313d26d665aac57f7b7f7"
 
 DOTFILESDIR=$HOME/dotfiles