Skip to content

Commit

Permalink
util: parallel_sim.sh fix suffix
Browse files Browse the repository at this point in the history
Change-Id: Ifd19824f9e0d308620e95de31db0c542ac85108e
  • Loading branch information
jensen-yan committed Oct 8, 2024
1 parent 546142b commit 6405e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/xs_scripts/parallel_sim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function prepare_env() {
suffixes=("gz" "zstd")
checkpoint=""
for suffix in "${suffixes[@]}"; do
checkpoint=$(find -L $cpt_dir -wholename "*${task_path}*${suffixes}" | head -n 1)
checkpoint=$(find -L "$cpt_dir" -wholename "*${task_path}*.$suffix" | head -n 1)
if [ -n "$checkpoint" ]; then
break
fi
Expand Down

0 comments on commit 6405e42

Please sign in to comment.