summaryrefslogtreecommitdiffstats
path: root/scripts/libmakepkg/lint_package
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2016-11-05 23:08:16 +0100
committerAllan McRae <allan@archlinux.org>2016-12-05 06:20:08 +0100
commit5dd764eb47e0109407702a4064e74dc25df3c982 (patch)
tree8564db1bd3c29c09426db39bd0d7e73a2de2184a /scripts/libmakepkg/lint_package
parent46101bea1c1232621fa80409586b5eeeaefdac47 (diff)
downloadpacman-5dd764eb47e0109407702a4064e74dc25df3c982.tar.gz
pacman-5dd764eb47e0109407702a4064e74dc25df3c982.tar.xz
makepkg: abort on lint_package errors
Allows lint_package to prevent makepkg from creating an invalid package. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/lint_package')
-rw-r--r--scripts/libmakepkg/lint_package/build_references.sh.in1
-rw-r--r--scripts/libmakepkg/lint_package/missing_backup.sh.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/libmakepkg/lint_package/build_references.sh.in b/scripts/libmakepkg/lint_package/build_references.sh.in
index 514ec053..cae98526 100644
--- a/scripts/libmakepkg/lint_package/build_references.sh.in
+++ b/scripts/libmakepkg/lint_package/build_references.sh.in
@@ -37,4 +37,5 @@ warn_build_references() {
printf '%s\n' "${refs[@]}" >&2
fi
done
+ return 0
}
diff --git a/scripts/libmakepkg/lint_package/missing_backup.sh.in b/scripts/libmakepkg/lint_package/missing_backup.sh.in
index 727a18bf..1963627a 100644
--- a/scripts/libmakepkg/lint_package/missing_backup.sh.in
+++ b/scripts/libmakepkg/lint_package/missing_backup.sh.in
@@ -35,4 +35,5 @@ warn_missing_backup() {
warning "$(gettext "%s entry file not in package : %s")" "backup" "$file"
fi
done
+ return 0
}