Commit f00d404f authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-play: add PROGDIR to PATH in __run_script() too

parent 4b1339a6
......@@ -58,7 +58,7 @@ __run_script()
[ -f "$script.rpmnew" ] && warning "There is .rpmnew file(s) in $psdir dir. The play script can be outdated."
shift
( unset EPMCURDIR ; $script "$@" )
( unset EPMCURDIR ; export PATH=$PROGDIR:$PATH ; $script "$@" )
return
}
......@@ -146,8 +146,6 @@ __epm_play_run()
local script="$psdir/$1.sh"
shift
# TODO: use epm print info instead of one?
# we will have DISTRVENDOR there
export PATH=$PROGDIR:$PATH
set_sudo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment