aboutsummaryrefslogtreecommitdiff
path: root/pkgbuild.sh
diff options
context:
space:
mode:
authorksyx <[email protected]>2021-11-01 13:22:45 -0400
committerGitHub <[email protected]>2021-11-02 01:22:45 +0800
commit8628d0e47ad672e131372852110ad65781657171 (patch)
tree5a1d830c89549af09656382022e463f25681f64a /pkgbuild.sh
parentfbcb4352c57d0ee9e4cccabbf62a1c215590be63 (diff)
fix: typo [REBUILD] (#13)
Co-authored-by: Kunoi Sayami <[email protected]>
Diffstat (limited to 'pkgbuild.sh')
-rwxr-xr-xpkgbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgbuild.sh b/pkgbuild.sh
index cbb280b..13094b5 100755
--- a/pkgbuild.sh
+++ b/pkgbuild.sh
@@ -45,7 +45,7 @@ touch "$REPO_DIFF"
function get_diff_list {
git diff --name-only HEAD^ | while read line; do
- if [[ $line =~ $PKG/\..* ]] && [ $line != "$PKG/.verified_repos" ]; then
+ if [[ $line =~ $PKGBUILD_DIRECTORY_BASE/\..* ]] && [ $line != "$PKGBUILD_DIRECTORY_BASE/.verified_repos" ]; then
echo "$line" | cut -d'/' -f3 >> "$REPO_DIFF"
elif [[ $line =~ $PKGBUILD_DIRECTORY_BASE ]]; then
echo "$line" | cut -d'/' -f2 >> "$REPO_DIFF"