Skip to content

Commit

Permalink
util: parallel_sim.sh fix suffix (#177)
Browse files Browse the repository at this point in the history
Change-Id: Ifd19824f9e0d308620e95de31db0c542ac85108e
  • Loading branch information
jensen-yan authored Oct 11, 2024
1 parent f9dc472 commit b785826
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 b785826

Please sign in to comment.