]> git.pld-linux.org Git - projects/setup.git/commitdiff
- anyone can use sh
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 30 May 2000 13:01:58 +0000 (13:01 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 30 May 2000 13:01:58 +0000 (13:01 +0000)
Changed files:
    etc/profile -> 1.8

etc/profile

index bf8faceb8141dd204b3df448dd5b0e2a0927695d..0553174fd05bbea508fcca78ee7101a0ffaf33b5 100644 (file)
@@ -29,7 +29,7 @@ if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
 fi
 
 SH="${0#\-}"
-if [ "`id -ur" = "0" ]; then
+if [ "$SH" = "sh" ]; then
        if [ ! -n KSH_VERSION ]; then
                SH=ksh
        elif [ ! -n BASH_VERSION ]; then
This page took 0.033408 seconds and 4 git commands to generate.