Commit 1dd9e4d0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

prescription, repack: add PROGDIR to PATH

parent 436e66e1
...@@ -39,6 +39,8 @@ fi ...@@ -39,6 +39,8 @@ fi
# allow use EGET in the scripts # allow use EGET in the scripts
__set_EGET __set_EGET
export PATH=$PROGDIR:$PATH
info "Running $($script --description) ..." info "Running $($script --description) ..."
docmd $script --run docmd $script --run
......
...@@ -132,6 +132,7 @@ __apply_fix_code() ...@@ -132,6 +132,7 @@ __apply_fix_code()
local repackcode="$CONFIGDIR/repack.d/$1.sh" local repackcode="$CONFIGDIR/repack.d/$1.sh"
[ -x "$repackcode" ] || return [ -x "$repackcode" ] || return
shift shift
export PATH=$PROGDIR:$PATH
docmd $repackcode "$1" "$2" || warning "There was errors with $repackcode script" docmd $repackcode "$1" "$2" || warning "There was errors with $repackcode script"
} }
......
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