Commit 95e1dea1 authored by Vitaly Lipatov's avatar Vitaly Lipatov

config: fix run on non rpm systems

parent 49759503
......@@ -28,18 +28,19 @@ NICE="nice"
RPMBUILD=rpmbuild
# CHECKME: works only on ALT?
if [ -x /bin/rpm ] ; then
RPMDIR=$(rpm --eval %_topdir) || fatal
RPMTMPDIR=$(rpm --eval %_tmppath) || fatal
# TODO: get from git also?
OWNERMAIL=$(rpm --eval %packager) || fatal
fi
# Can be overrided in the scripts
[ -n "$RPMTOPDIR" ] || RPMTOPDIR="$RPMDIR"
[ -n "$APTCONFBASE" ] || APTCONFBASE=$ETERBUILDETC/apt/apt.conf
#OWNERMAIL=`grep "^%packager" ~/.rpmmacros | head -n 1 | sed -e "s/%packager[ \t]*//g"`
# works only on ALT?
# TODO: get from git also?
OWNERMAIL=$(rpm --eval %packager) || fatal
COMPANYFTP=etersoft.ru
......
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