]> git.pld-linux.org Git - projects/setup.git/commitdiff
- one more hack for recognizing shell type
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 28 Dec 2000 19:51:57 +0000 (19:51 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 28 Dec 2000 19:51:57 +0000 (19:51 +0000)
Changed files:
    etc/profile -> 1.16

etc/profile

index ae7d0155d4082f80c7f8f3e84615a6b071de9fed..3e9341246252dfb183d2cd3aecea7560746964d5 100644 (file)
@@ -31,6 +31,7 @@ if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
 fi
 
 SH="${0#\-}"
+SH="${SH#/bin/}"
 if [ "$SH" = "sh" ]; then
        if [ -n "$KSH_VERSION" ]; then
                SH=ksh
This page took 0.041134 seconds and 4 git commands to generate.