fix QA issues

This commit is contained in:
XGQT 2020-03-24 01:52:01 +01:00
parent e828b9a017
commit 4f8d1a112c
No known key found for this signature in database
GPG Key ID: 2089DEC77862433A
1 changed files with 2 additions and 2 deletions

View File

@ -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