summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom "Ravi" Hale2018-10-10 13:26:37 +0700
committerTom "Ravi" Hale2018-10-10 13:26:37 +0700
commit0aba59a488fc311eb9439aa89ef96302ef884d3d (patch)
tree79fc3273fb0ee97fddd86827355ea2f09b757a76
parent175c0399d5912aa716aca702344b53e848d59417 (diff)
downloadaur-0aba59a488fc311eb9439aa89ef96302ef884d3d.tar.gz
make-check: use system path first
-rwxr-xr-xmake-check3
1 files changed, 3 insertions, 0 deletions
diff --git a/make-check b/make-check
index 0c9e4accde51..ed00a6085c4b 100755
--- a/make-check
+++ b/make-check
@@ -3,6 +3,9 @@
# A convenience script for the package creator.
# This file is not run on package installation.
+PACMAN=
+PATH=/usr/bin:$PATH
+
cd -P -- "$(dirname "$0")" || exit 1 # Allow to be called from any directory
makepkg -ef || makepkg -f && namcap PKGBUILD && namcap ./*.tar.xz
makepkg --printsrcinfo >| .SRCINFO && echo "Updated .SRCINFO" >&2