From 2579c3dc8b7d588f7f2bcba8c64413aa59653db6 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Tue, 1 Mar 2022 17:53:33 -0300 Subject: [PATCH] Update runScript() --- pkgbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgbuild.sh b/pkgbuild.sh index b25ea84..86f61c4 100755 --- a/pkgbuild.sh +++ b/pkgbuild.sh @@ -120,7 +120,7 @@ runScript() { namcapAnalysis exportPackageFiles - findArgs+=("-not" "-name" "$relPkgFile*" "-not" "-name" ".SRCINFO") + findArgs+=("-not" "-name" "$pkgFile*" "-not" "-name" ".SRCINFO") newFiles=$(find -H "$PWD" "${findArgs[@]}") files=$(printf '%s\n%s\n' "$newFiles" "$oldFiles") mapfile -t toRemove < <(echo "$files" | sort | uniq -u)