From: David Levine Date: Tue, 13 Dec 2011 04:50:06 +0000 (-0600) Subject: Replaced use of GNU make shell function with backticks. These were X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=e8ab951121e1e3805b4e4e914ad119d96b14cb06;p=mmh Replaced use of GNU make shell function with backticks. These were for the rpm target, which would most likely only be build on Linux. So they probably would have been OK, but just in case. --- diff --git a/Makefile.in b/Makefile.in index c1060ea..38a9c1d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -204,10 +204,10 @@ nmhrelease: # tarfile and version are as specified in this file. rpmbuild does # not allow Version to contain any dashes. rpm: all nmhdist - @rpmbuild --define '_topdir $(shell pwd)/RPM' \ + @rpmbuild --define '_topdir '`pwd`'/RPM' \ --define '_tmppath %{_topdir}/TMP' \ - --define 'srcdir $(shell pwd)' \ + --define 'srcdir '`pwd` \ --define 'tarfile $(tarfile)' \ - --define 'version $(shell echo $(VERSION) | sed "s/-/_/g")' \ + --define 'version '`echo $(VERSION) | sed "s/-/_/g"` \ -ba nmh.spec @$(RM) $(tarfile)