summaryrefslogtreecommitdiffstats
path: root/csh.cshrc
diff options
context:
space:
mode:
authorGustavo De Nardin <spuk@mandriva.org>2009-04-11 20:25:48 +0000
committerGustavo De Nardin <spuk@mandriva.org>2009-04-11 20:25:48 +0000
commitd7b6987f0f31a3c9b215d7026a7e67ddb2094cfc (patch)
treec6f3cd56a6309b5bdf61a1e663ba5f1d05b3c42f /csh.cshrc
parent4dd175580541a16dc3ce4e7d7d3570077eb0523e (diff)
downloadsetup-d7b6987f0f31a3c9b215d7026a7e67ddb2094cfc.tar
setup-d7b6987f0f31a3c9b215d7026a7e67ddb2094cfc.tar.gz
setup-d7b6987f0f31a3c9b215d7026a7e67ddb2094cfc.tar.bz2
setup-d7b6987f0f31a3c9b215d7026a7e67ddb2094cfc.tar.xz
setup-d7b6987f0f31a3c9b215d7026a7e67ddb2094cfc.zip
- 2.7.172.7.17
- stop csh from sourcing /etc/profile.d/* on non-interactive shells (bug #49407, comment 6) - updated NEWS
Diffstat (limited to 'csh.cshrc')
-rw-r--r--csh.cshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/csh.cshrc b/csh.cshrc
index 6010599..02c8c5c 100644
--- a/csh.cshrc
+++ b/csh.cshrc
@@ -17,6 +17,9 @@ if ($?prompt) then
else
set prompt=\[`id -nu`@`hostname -s`\]\$\
endif
+else
+ # nothing more to do for non-interactive shell
+ goto OUT
endif
test -d /etc/profile.d
@@ -34,3 +37,6 @@ if ($status == 0) then
end
unset i nonomatch
endif
+
+
+OUT: