Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/copy-to-build-support5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/copy-to-build-support b/bin/copy-to-build-support
index addd45c..016d4c0 100755
--- a/bin/copy-to-build-support
+++ b/bin/copy-to-build-support
@@ -59,6 +59,11 @@ if [ "$#" -ne 1 ]; then
usage
fi
+if [ ! -r "$1" ]; then
+ >&2 printf 'Package-list "%s" is not readable.\n' "$1"
+ usage
+fi
+
exec 9> "${sanity_check_lock_file}"
verbose_flock -s ${wait_for_lock} 9