Skip to content

Commit

Permalink
Merge pull request #369 from thesamesam/which-hunt
Browse files Browse the repository at this point in the history
test: run_test_3: drop use of `which`
  • Loading branch information
mdadams authored Jan 14, 2024
2 parents ff63369 + de3e9d4 commit 2ba5f1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/bin/run_test_3
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ set_source_and_build_dirs || panic "cannot set source and build directories"

#$CMDDIR/rundectests jasper || exit 1

oj_compress=$(which opj2_compress) || oj_compress=""
oj_decompress=$(which opj2_decompress) || oj_decompress=""
oj_compress=$(type -P opj2_compress) || oj_compress=""
oj_decompress=$(type -P opj2_decompress) || oj_decompress=""

run_test="$cmd_dir/run_codec_test"

Expand Down

0 comments on commit 2ba5f1c

Please sign in to comment.