Unverified Commit 6d3b2b17 authored by X1mper's avatar X1mper Committed by GitHub

fix error during the rpmbsh startup (#3)

parent 4569e477
......@@ -131,7 +131,7 @@ set_eterbuilddir()
{
[ -z "$ETERBUILDDIR" ] || return 0
if dirname $0 | grep "^/usr" >/dev/null ; then
if dirname $0 | grep -E "^/(usr/bin|bin)" -q ; then
ETERBUILDETC=/etc/eterbuild
ETERBUILDDIR=/usr/share/eterbuild
else
......
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