fix csh syntax error

This commit is contained in:
Thomas von Dein
2020-11-25 10:45:13 +01:00
parent 55efd8e87b
commit 3b282dad46

6
jaildk
View File

@@ -863,10 +863,10 @@ setenv PAGER less
setenv BLOCKSIZE K setenv BLOCKSIZE K
if (\$?prompt) then if (\$?prompt) then
set chroot=`ps axu|grep /sbin/init | grep -v grep` set chroot=`ps axu|grep /sbin/init | grep -v grep`
if("\$chroot" == "") then if("\$chroot" == \"\") then
set prompt = "(jail) %N@%m:%~ %# " set prompt = \"(jail) %N@%m:%~ %# \"
else else
set prompt = "(build chroot) %N@%m:%~ %# " set prompt = \"(build chroot) %N@%m:%~ %# \"
endif endif
set promptchars = \"%#\" set promptchars = \"%#\"
set filec set filec