Commit 55c281b3 authored by Vitaly Lipatov's avatar Vitaly Lipatov

small fix if rpm-build-altlinux-compat is missed

parent 82ea757e
...@@ -16,9 +16,10 @@ set_eterbuilddir() ...@@ -16,9 +16,10 @@ set_eterbuilddir()
# if run from no system installation # if run from no system installation
# TODO: use real root dir not script dirname # TODO: use real root dir not script dirname
[ -n "$TOPDIR" ] || TOPDIR=../ [ -n "$TOPDIR" ] || TOPDIR=../
ETERBUILDDIR=$(realpath `dirname $0`/$TOPDIR/share/eterbuild) ATOPDIR=`dirname $0`/$TOPDIR
ETERBUILDETC=$(realpath `dirname $0`/$TOPDIR/etc) ETERBUILDDIR=$(realpath $ATOPDIR/share/eterbuild)
DISTRVENDOR=$(realpath `dirname $0`/$TOPDIR/../rpm-build-altlinux-compat/bin/distr_vendor) ETERBUILDETC=$(realpath $ATOPDIR/etc)
DISTRVENDOR=$(realpath $ATOPDIR/../rpm-build-altlinux-compat/bin/distr_vendor 2>/dev/null)
[ -x "$DISTRVENDOR" ] || DISTRVENDOR=distr_vendor [ -x "$DISTRVENDOR" ] || DISTRVENDOR=distr_vendor
if [ -r "$ETERBUILDETC/../AUTHORS" ] ; then if [ -r "$ETERBUILDETC/../AUTHORS" ] ; then
if [ -n "$VERBOSE" ] ; then if [ -n "$VERBOSE" ] ; then
......
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