Commit 735dc81a authored by Vitaly Lipatov's avatar Vitaly Lipatov

add assert_var for ETERBUILDBIN

parent c72c3e6e
...@@ -118,6 +118,7 @@ pkg_release_check() ...@@ -118,6 +118,7 @@ pkg_release_check()
# copied from aptU # copied from aptU
get_rpmpkg_requires() get_rpmpkg_requires()
{ {
assert_var ETERBUILDBIN
$ETERBUILDBIN/rpmreqs $@ $ETERBUILDBIN/rpmreqs $@
} }
...@@ -111,6 +111,9 @@ if ! set_eterbuilddir ; then ...@@ -111,6 +111,9 @@ if ! set_eterbuilddir ; then
exit 1 exit 1
fi fi
# lines before do the same as
# assert_var ETERBUILDBIN
DISTRVENDOR=$(realpath $ETERBUILDBIN/../../rpm-build-altlinux-compat/bin/distr_vendor 2>/dev/null) DISTRVENDOR=$(realpath $ETERBUILDBIN/../../rpm-build-altlinux-compat/bin/distr_vendor 2>/dev/null)
[ -x "$DISTRVENDOR" ] || DISTRVENDOR=distr_vendor [ -x "$DISTRVENDOR" ] || DISTRVENDOR=distr_vendor
......
...@@ -43,6 +43,7 @@ regexp_exclude_list() ...@@ -43,6 +43,7 @@ regexp_exclude_list()
estrlist() estrlist()
{ {
assert_var ETERBUILDBIN
$ETERBUILDBIN/estrlist "$@" $ETERBUILDBIN/estrlist "$@"
} }
......
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