Skip to content

Commit

Permalink
Fix issue caused by change of output format from rpm --showrc
Browse files Browse the repository at this point in the history
Refs #341


git-svn-id: https://svn.nexusformat.org/code/trunk@1887 ff5d1e40-2be0-497f-93bd-dc18237bd3c7
  • Loading branch information
FreddieAkeroyd authored and Freddie Akeroyd committed Mar 6, 2013
1 parent faeb4df commit b2cfde5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_rpm.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# $1 is set to any options you want to pass to ./configure
#
# get topdir - must find a better way ...
topdir=`rpm --showrc|grep topdir| awk '{print $3}' | tail -1`
topdir=`rpm --showrc|grep " _topdir"| awk '{print $3}' | tail -1`
if test ! -e "$topdir"; then
echo "Unable to determine RPM topdir from rpmrc; assuming $HOME/rpmbuild"
topdir="$HOME/rpmbuild"
Expand Down

0 comments on commit b2cfde5

Please sign in to comment.