Commit 447eb6b0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix eterbuild path if we not in project dir

parent 9ddd8166
......@@ -14,9 +14,10 @@ set_eterbuilddir()
# if run from no system installation
ETERBUILDDIR=$(realpath `dirname $0`/../share/eterbuild)
ETERBUILDETC=$(realpath `dirname $0`/../etc)
#if [ -r "$ETERBUILDETC/../AUTHORS" ] ; then
if [ -n "$VERBOSE" ] ; then
echo "Note: run from source tree, datadir=$ETERBUILDDIR, sysconfdir=$ETERBUILDETC"
if [ -r "$ETERBUILDETC/../AUTHORS" ] ; then
if [ -n "$VERBOSE" ] ; then
echo "Note: run from source tree, datadir=$ETERBUILDDIR, sysconfdir=$ETERBUILDETC"
fi
else
ETERBUILDETC=/etc/eterbuild
ETERBUILDDIR=/usr/share/eterbuild
......
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