Commit bf3b0a0d authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-sh-functions: call the program internally without bash

parent 36202bc6
......@@ -282,7 +282,7 @@ epm()
{
if [ -n "$PROGNAME" ] ; then
#|| fatal "Can't use epm call from the piped script"
bash $PROGDIR/$PROGNAME --inscript "$@"
$PROGDIR/$PROGNAME --inscript "$@"
else
epm_main --inscript "$@"
fi
......@@ -292,7 +292,7 @@ epm()
sudoepm()
{
[ -n "$PROGNAME" ] || fatal "Can't use epm call from the piped script"
sudorun bash $PROGDIR/$PROGNAME --inscript "$@"
sudorun $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