From: John Mulligan Date: Tue, 19 Aug 2025 19:03:51 +0000 (-0400) Subject: make-srpm.sh: don't shell out redundantly to pwd X-Git-Tag: testing/wip-jcollin-testing-20250826.060643-squid~5^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=758644fad28da508bf25063508e052e429f0fa1e;p=ceph-ci.git make-srpm.sh: don't shell out redundantly to pwd Just something that annoyed me while reading the script. Signed-off-by: John Mulligan (cherry picked from commit 544d8ab5eb81fc5b8b950c2c1c116fad6b1a40c4) --- diff --git a/make-srpm.sh b/make-srpm.sh index a46372afed6..50b45172329 100755 --- a/make-srpm.sh +++ b/make-srpm.sh @@ -8,4 +8,4 @@ # test -f "ceph-$1.tar.bz2" || ./make-dist $1 -rpmbuild -D"_sourcedir `pwd`" -D"_specdir `pwd`" -D"_srcrpmdir `pwd`" -bs ceph.spec +rpmbuild -D"_sourcedir ${PWD}" -D"_specdir ${PWD}" -D"_srcrpmdir ${PWD}" -bs ceph.spec