Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/prioritize-build-list
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-06-15 19:39:41 +0200
committerErich Eckner <git@eckner.net>2019-06-15 19:39:41 +0200
commit4369821e44eab3833f3cade0917acf2c444968de (patch)
treec4ee3a9954d67b27b8891abac146015b31ed7a0c /bin/prioritize-build-list
parentd1100aebc3513a6e3044944afcca7b4e567378c2 (diff)
bin/prioritize-build-list: test for "-f" instead of "! -p" of status output device
Diffstat (limited to 'bin/prioritize-build-list')
-rwxr-xr-xbin/prioritize-build-list2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/prioritize-build-list b/bin/prioritize-build-list
index 8dd3f23..ae9fe67 100755
--- a/bin/prioritize-build-list
+++ b/bin/prioritize-build-list
@@ -153,7 +153,7 @@ if ${dependencies}; then
fi
if [ -w "$1" ] && \
- [ ! -p "$1" ]; then
+ [ -f "$1" ]; then
printf '%s\n' "${updated_rows}" >"$1"
else
printf '%s\n' "${updated_rows}" >&2