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()
echo "Note: run from source tree, datadir=$ETERBUILDDIR, sysconfdir=$ETERBUILDETC"
fi
else
warning "Cannot find source tree root in source tree mode"
ETERBUILDETC=/etc/eterbuild
ETERBUILDDIR=/usr/share/eterbuild
echo "Cannot find source tree root in source tree mode" >&2
exit 1
fi
fi
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