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: https://diplodocus.org/git/nmh/commitdiff_plain/e8ab951121e1e3805b4e4e914ad119d96b14cb06 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 c1060eaa..38a9c1d2 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)