Commit 4569e477 authored by Vitaly Lipatov's avatar Vitaly Lipatov

set_eterbuilddir: exit if the utils' source tree is not found

parent 67a33896
...@@ -146,9 +146,8 @@ set_eterbuilddir() ...@@ -146,9 +146,8 @@ set_eterbuilddir()
echo "Note: run from source tree, datadir=$ETERBUILDDIR, sysconfdir=$ETERBUILDETC" echo "Note: run from source tree, datadir=$ETERBUILDDIR, sysconfdir=$ETERBUILDETC"
fi fi
else else
warning "Cannot find source tree root in source tree mode" echo "Cannot find source tree root in source tree mode" >&2
ETERBUILDETC=/etc/eterbuild exit 1
ETERBUILDDIR=/usr/share/eterbuild
fi fi
fi fi
ETERBUILDBIN=$(realpath $ETERBUILDDIR/../../bin) ETERBUILDBIN=$(realpath $ETERBUILDDIR/../../bin)
......
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