Closed brother closed 7 years ago
https://github.com/freight-team/freight/blob/master/bin/freight-cache#L70 reads
[ -z "$GPG_PASSPHRASE_FILE" -o -r "$GPG_PASSPHRASE_FILE" ] || echo "# [freight] could not read passphrase file: $GPG_PASSPHRASE_FILE." >&2
This is reported as ambigious and should be changed to use the form [ something ] || [ something ] for better consistency. Like so:
[ -z "$GPG_PASSPHRASE_FILE" ] || [ -r "$GPG_PASSPHRASE_FILE" ] || echo "# [freight] could not read passphrase file: $GPG_PASSPHRASE_FILE." >&2
Thank you.
https://github.com/freight-team/freight/blob/master/bin/freight-cache#L70 reads
[ -z "$GPG_PASSPHRASE_FILE" -o -r "$GPG_PASSPHRASE_FILE" ] || echo "# [freight] could not read passphrase file: $GPG_PASSPHRASE_FILE." >&2
This is reported as ambigious and should be changed to use the form [ something ] || [ something ] for better consistency. Like so:
[ -z "$GPG_PASSPHRASE_FILE" ] || [ -r "$GPG_PASSPHRASE_FILE" ] || echo "# [freight] could not read passphrase file: $GPG_PASSPHRASE_FILE." >&2
Thank you.