Skip to content

Commit b2cfde5

Browse files
FreddieAkeroydFreddie Akeroyd
authored and
Freddie Akeroyd
committed
Fix issue caused by change of output format from rpm --showrc
Refs nexusformat#341 git-svn-id: https://svn.nexusformat.org/code/trunk@1887 ff5d1e40-2be0-497f-93bd-dc18237bd3c7
1 parent faeb4df commit b2cfde5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_rpm.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# $1 is set to any options you want to pass to ./configure
99
#
1010
# get topdir - must find a better way ...
11-
topdir=`rpm --showrc|grep topdir| awk '{print $3}' | tail -1`
11+
topdir=`rpm --showrc|grep " _topdir"| awk '{print $3}' | tail -1`
1212
if test ! -e "$topdir"; then
1313
echo "Unable to determine RPM topdir from rpmrc; assuming $HOME/rpmbuild"
1414
topdir="$HOME/rpmbuild"

0 commit comments

Comments
 (0)