]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
make-srpm.sh: don't shell out redundantly to pwd
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 19 Aug 2025 19:03:51 +0000 (15:03 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 21 Aug 2025 20:58:43 +0000 (16:58 -0400)
Just something that annoyed me while reading the script.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 544d8ab5eb81fc5b8b950c2c1c116fad6b1a40c4)

make-srpm.sh

index a46372afed667e4d26eb90d92c18df4362aa71b6..50b45172329ee5eca3c46161af1896072abaa49a 100755 (executable)
@@ -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