diff options
author | Eugeni Dodonov <eugeni@mandriva.org> | 2009-08-29 13:55:24 +0000 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.org> | 2009-08-29 13:55:24 +0000 |
commit | 66355b4ef3ffcc0c078abb4aaea095bfe2876df2 (patch) | |
tree | 720e68487882ef2a9988bbab06c1c73b5ed3885c /profile.d/msec.sh | |
parent | b69f3860b435cba6938649738c517952507826a4 (diff) | |
download | msec-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-x | profile.d/msec.sh | 4 |
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 |