]> git.pld-linux.org Git - projects/setup.git/commitdiff
- $SHELL is set once for session, back to $0
authorTomasz Pala <gotar@pld-linux.org>
Sun, 11 Apr 2004 13:38:35 +0000 (13:38 +0000)
committerTomasz Pala <gotar@pld-linux.org>
Sun, 11 Apr 2004 13:38:35 +0000 (13:38 +0000)
Changed files:
    etc/profile -> 1.40

etc/profile

index b5772102034ad85dc59fb5026f076c23298f57fb..9ea15585cf8841fc7d53b71f84b689738eaba004 100644 (file)
@@ -29,7 +29,8 @@ if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
        TERM=linux
 fi
 
-SH="${SHELL#/bin/}"
+SH="${0#\-}"
+SH="${SH#/bin/}"
 if [ "$SH" = "sh" ]; then
        if [ -n "$KSH_VERSION" ]; then
                SH=ksh
This page took 0.044889 seconds and 4 git commands to generate.