Skip to content

Commit

Permalink
make llvm-kompile-matching script slightly more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwight Guth committed Jul 3, 2024
1 parent c7cba68 commit 0c84478
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm-backend/src/main/scripts/bin/llvm-kompile-matching
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ then
elif [ $# -lt 4 ];
then
fail "ERROR: Not enough arguments!"
elif [ ! -f $1 ];
elif [ ! -f "$1" ];
then
fail "ERROR: <definition.kore> not a file!"
elif [ ! -d $3 ];
elif ! mkdir -p "$3";
then
fail "ERROR: <output dir> not a directory!"
fi
Expand Down

0 comments on commit 0c84478

Please sign in to comment.