diff --git a/debian/csh.login b/debian/csh.login index 7c293ed..e5e10b1 100644 --- a/debian/csh.login +++ b/debian/csh.login @@ -1,8 +1,8 @@ # /etc/csh.login: system-wide .login file for csh(1) and tcsh(1) # allow for other packages/system admins to customize the shell environment -if (-e /etc/csh/login.d && `ls /etc/csh/login.d` != "") then - foreach FILE (`ls /etc/csh/login.d/*`) +if (-e /etc/csh/login.d && `/bin/ls /etc/csh/login.d` != "") then + foreach FILE (`/bin/ls /etc/csh/login.d/*`) source $FILE; end; endif