Commit c51162b8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-play: export SUDO for scripts

parent 0f6323e5
......@@ -63,6 +63,8 @@ __epm_play_run()
# also we will have DISTRVENDOR there
export PATH=$PROGDIR:$PATH
export SUDO
#info "Running $($script --description 2>/dev/null) ..."
docmd $script "$@"
}
......@@ -106,6 +108,9 @@ if [ "$1" = "--update" ] ; then
done
exit
fi
if [ -z "$1" ] ; then
fatal "run --update with 'all' or project name"
fi
__check_installed_app "$1" || fatal "$1 is not installed"
prescription="$1"
shift
......
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