index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-11-01 13:50:18 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-11-01 13:50:18 +0100 |
commit | 8b5a6a2d2ea6bc3c3489fac97f9a813adf072e59 (patch) | |
tree | de4f2cd542919928152f7e1dd3fdef1c051ff048 /bin/modify-package-state | |
parent | 1d6551ca356cb05e0668997559dcf0db090457e5 (diff) |
-rwxr-xr-x | bin/modify-package-state | 4 |
diff --git a/bin/modify-package-state b/bin/modify-package-state index 9a2c2c7..38e099a 100755 --- a/bin/modify-package-state +++ b/bin/modify-package-state @@ -88,10 +88,10 @@ fi input_file="$1" if ${report}; then - if ! [ -w "${output_file}" ]; then + if ! [ -w "${input_file}" ]; then >&2 printf \ 'Cannot open file "%s" for writing.' \ - "${output_file}" + "${input_file}" exit 2 fi move_output() { |