aboutsummaryrefslogtreecommitdiffstats
path: root/profile.d/msec.sh
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-08-29 13:55:24 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-08-29 13:55:24 +0000
commit66355b4ef3ffcc0c078abb4aaea095bfe2876df2 (patch)
tree720e68487882ef2a9988bbab06c1c73b5ed3885c /profile.d/msec.sh
parentb69f3860b435cba6938649738c517952507826a4 (diff)
downloadmsec-66355b4ef3ffcc0c078abb4aaea095bfe2876df2.tar
msec-66355b4ef3ffcc0c078abb4aaea095bfe2876df2.tar.gz
msec-66355b4ef3ffcc0c078abb4aaea095bfe2876df2.tar.bz2
msec-66355b4ef3ffcc0c078abb4aaea095bfe2876df2.tar.xz
msec-66355b4ef3ffcc0c078abb4aaea095bfe2876df2.zip
added support for configuring inclusion of current directory into path
Diffstat (limited to 'profile.d/msec.sh')
-rwxr-xr-xprofile.d/msec.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/profile.d/msec.sh b/profile.d/msec.sh
index 288d72b..76508ae 100755
--- a/profile.d/msec.sh
+++ b/profile.d/msec.sh
@@ -18,8 +18,8 @@ else
fi
fi
-if [ -n "$SECURE_LEVEL" ]; then
- if [ "$SECURE_LEVEL" -le 1 ] && ! echo ${PATH} | fgrep -q :.; then
+if [ "$ALLOW_CURDIR_IN_PATH" == "yes" ]; then
+ if ! echo ${PATH} | fgrep -q :.; then
export PATH=$PATH:.
fi
fi