aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mandriva/tmpdir.csh4
-rw-r--r--mandriva/tmpdir.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/mandriva/tmpdir.csh b/mandriva/tmpdir.csh
index a2cc08da..c0deecab 100644
--- a/mandriva/tmpdir.csh
+++ b/mandriva/tmpdir.csh
@@ -1,8 +1,8 @@
# $Id$
# Set TMPDIR and TMP
-if (-f /etc/sysconfig/shell) then
- eval `cat /etc/sysconfig/shell | grep -v ^# | sed -re 's/^([^=]+=)/set \1/'`
+if (-f /etc/security/shell) then
+ eval `cat /etc/security/shell | grep -v ^# | sed -re 's/^([^=]+=)/set \1/'`
endif
if ($?SECURE_TMP) then
diff --git a/mandriva/tmpdir.sh b/mandriva/tmpdir.sh
index c4e1abd6..9aaa65b7 100644
--- a/mandriva/tmpdir.sh
+++ b/mandriva/tmpdir.sh
@@ -2,8 +2,8 @@
# $Id$
# Set TMPDIR to ~/tmp and create it if directory not exist.
-if [ -f /etc/sysconfig/shell ];then
- . /etc/sysconfig/shell
+if [ -f /etc/security/shell ];then
+ . /etc/security/shell
fi
if [[ "$SECURE_TMP" = "yes" ]];then