diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/copy-to-build-support | 5 |
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 |