Commit b5de2377 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm(): run the script via bash

parent 0fb00cdd
......@@ -282,14 +282,14 @@ clean_store_output()
epm()
{
[ -n "$PROGNAME" ] || fatal "Can't use epm call from the piped script"
$PROGDIR/$PROGNAME --inscript "$@"
bash $PROGDIR/$PROGNAME --inscript "$@"
}
# run $SUDO epm, possible from side repo
sudoepm()
{
[ -n "$PROGNAME" ] || fatal "Can't use epm call from the piped script"
sudorun $PROGDIR/$PROGNAME --inscript "$@"
sudorun bash $PROGDIR/$PROGNAME --inscript "$@"
}
# Print error message and stop the program
......
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