Commit db0c7868 authored by Vitaly Lipatov's avatar Vitaly Lipatov

config: check rpm via which

parent ea5d6cae
...@@ -28,7 +28,7 @@ NICE="nice" ...@@ -28,7 +28,7 @@ NICE="nice"
RPMBUILD=rpmbuild RPMBUILD=rpmbuild
# CHECKME: works only on ALT? # CHECKME: works only on ALT?
if [ -x /bin/rpm ] ; then if which rpm 2>/dev/null >/dev/null ; then
RPMDIR=$(rpm --eval %_topdir) || fatal RPMDIR=$(rpm --eval %_topdir) || fatal
RPMTMPDIR=$(rpm --eval %_tmppath) || fatal RPMTMPDIR=$(rpm --eval %_tmppath) || fatal
......
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