]> git.apps.os.sepia.ceph.com Git - ceph.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>
Wed, 20 Aug 2025 15:23:46 +0000 (11:23 -0400)
Just something that annoyed me while reading the script.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
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