Skip to content

Commit

Permalink
Fix script.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Oct 20, 2024
1 parent 46feea0 commit 0024456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set -o errexit
set -o pipefail
set -o nounset

if [ "$#" -ne "1" ] && [ "$#" -ne "2" ] || [ "x$2" -ne "x-t" ]; then
if [ "$#" -ne "1" ] && ([ "$#" -ne "2" ] || [ "x$2" -ne "x-t" ]); then
echo "Usage: $0 [-t] FILE"
echo "FILE must be a file containing lines of the format:"
echo " PATH URL SHA256SUM"
Expand Down

0 comments on commit 0024456

Please sign in to comment.