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() ...@@ -282,14 +282,14 @@ clean_store_output()
epm() epm()
{ {
[ -n "$PROGNAME" ] || fatal "Can't use epm call from the piped script" [ -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 # run $SUDO epm, possible from side repo
sudoepm() sudoepm()
{ {
[ -n "$PROGNAME" ] || fatal "Can't use epm call from the piped script" [ -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 # 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