diff options
author | Tom "Ravi" Hale | 2018-10-06 20:10:56 +0700 |
---|---|---|
committer | Tom "Ravi" Hale | 2018-10-07 16:42:24 +0700 |
commit | d6fd90b4caa5bbb02fc18c45dc6e16d646ac492f (patch) | |
tree | 58ddf290024fd785abb822d6335b1dab7faef678 | |
parent | 12ac6482ca41641f32badb8614ef9eab03995053 (diff) | |
download | aur-d6fd90b4caa5bbb02fc18c45dc6e16d646ac492f.tar.gz |
make-check: Allow for build from any directory
-rwxr-xr-x | make-check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/make-check b/make-check new file mode 100755 index 000000000000..850bdb5c3816 --- /dev/null +++ b/make-check @@ -0,0 +1,4 @@ +#!/bin/bash +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 |