diff --git a/pkgbuild.sh b/pkgbuild.sh index c277409..a8d944b 100755 --- a/pkgbuild.sh +++ b/pkgbuild.sh @@ -56,6 +56,8 @@ exportPackageFiles() { exportFile "srcInfo" ".SRCINFO" pkgFile=$(sudo -u calbuilder makepkg --packagelist) + ls -al + echo "$pkgFile" if [ -f "$pkgFile" ]; then relPkgFile="$(realpath --relative-base="$baseDir" "$pkgFile")" exportFile "pkgFile" "$relPkgFile" "$pkgFile" @@ -123,6 +125,8 @@ runScript() { exportPackageFiles namcapAnalysis + ls -al + findArgs+=("-not" "-name" "$relPkgFile*" "-not" "-name" ".SRCINFO") newFiles=$(find -H "$PWD" "${findArgs[@]}") files=$(printf '%s\n%s\n' "$newFiles" "$oldFiles")