Commit c6835cfd authored by Vitaly Lipatov's avatar Vitaly Lipatov

allow use any RPM dir defined as topdir in ~/.rpmmacros

parent 82547799
...@@ -27,7 +27,8 @@ SYSARCH=$(uname -m) ...@@ -27,7 +27,8 @@ SYSARCH=$(uname -m)
NICE="nice" NICE="nice"
RPMBUILD=rpmbuild RPMBUILD=rpmbuild
RPMDIR="$HOME/RPM" # CHECKME: works only on ALT?
RPMDIR=`rpm --eval %_topdir`
# Can be overrided in the scripts # Can be overrided in the scripts
[ -n "$RPMTOPDIR" ] || RPMTOPDIR="$RPMDIR" [ -n "$RPMTOPDIR" ] || RPMTOPDIR="$RPMDIR"
......
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