From 4f8d1a112cbf0f8110e050822eab892440ad40f2 Mon Sep 17 00:00:00 2001 From: XGQT Date: Tue, 24 Mar 2020 01:52:01 +0100 Subject: [PATCH] fix QA issues --- src/check-commit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/check-commit b/src/check-commit index d50886c..7924ae9 100755 --- a/src/check-commit +++ b/src/check-commit @@ -28,10 +28,10 @@ pkgcheck scan --commits # and run repoman in there for file in $(git diff --name-only HEAD HEAD~1) do - if cd $(dirname "${file}"); then + if cd "$(dirname "${file}")"; then echo echo "Directory $(pwd):" repoman -Idix - cd - >/dev/null + cd - >/dev/null || return fi done