From 68f5e1d1eb7aa3e8446cb89bf609653e179857c1 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Tue, 1 Mar 2022 13:34:32 -0300 Subject: [PATCH] Fix bug --- pkgbuild.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgbuild.sh b/pkgbuild.sh index 11b154a..1c34dc3 100755 --- a/pkgbuild.sh +++ b/pkgbuild.sh @@ -78,6 +78,7 @@ namcapAnalysis() { mapfile -t warnings < <(namcap PKGBUILD) printWarnings "PKGBUILD" + pkgFile=$(sudo -u calbuilder makepkg --packagelist) if [ -f "$pkgFile" ]; then relPkgFile="$(realpath --relative-base="$baseDir" "$pkgFile")" mapfile -t warnings < <(namcap "$pkgFile")