Commit 20ddac45 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-play-common: run scripts via bash (supports non executable scripts)

parent b699b146
......@@ -26,7 +26,7 @@ __run_script()
shift
[ "$PROGDIR" = "/usr/bin" ] && SCPATH="$PATH" || SCPATH="$PROGDIR:$PATH"
( unset EPMCURDIR ; export PATH=$SCPATH ; $script "$@" )
( unset EPMCURDIR ; export PATH=$SCPATH ; $CMDSHELL $bashopt $script "$@" )
return
}
......
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