[monitoring-plugins] mock.sh: remove some quotting to allow pathname ...

RincewindsHat git at monitoring-plugins.org
Sat Oct 26 07:00:13 CEST 2024


 Module: monitoring-plugins
 Branch: master
 Commit: 54162dbaf689d560656e3eb6c3313840ebc0513a
 Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
   Date: Fri Oct 25 12:52:32 2024 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=54162db

mock.sh: remove some quotting to allow pathname expansion again

---

 .github/mock.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/mock.sh b/.github/mock.sh
index 0b91364..87543ce 100755
--- a/.github/mock.sh
+++ b/.github/mock.sh
@@ -58,7 +58,7 @@ dnf -y --setopt="tsflags=nodocs" install rpmdevtools && \
   { mock --dnf --clean --spec ${SPEC_FILE} --sources=${SOURCE_DIR} --result=${SRCRPM_DIR} --build || \
   { cat ${SRCRPM_DIR}/{root,build}.log; exit 1; } }
 
-mock --dnf --clean --sources=${SOURCE_DIR} --result=${RPM_DIR} --rebuild "${SRCRPM_DIR}/${SRC_RPM}" || \
+mock --dnf --clean --sources=${SOURCE_DIR} --result=${RPM_DIR} --rebuild "${SRCRPM_DIR}"/${SRC_RPM} || \
   { cat ${RPM_DIR}/{root,build}.log; exit 1; }
 
 ls -la ${SOURCE_DIR} ${SRCRPM_DIR} ${RPM_DIR}



More information about the Commits mailing list