Skip to content

Commit

Permalink
Fix exspec bash script file detection (avoid wildcard)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Dec 9, 2024
1 parent 79fca84 commit 2af9831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/exspec-before.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

# packet output files outside the artis folder, so move them back to run exspec
if [[ ! -f packets00_0000.out && ! -f packets00_0000.out.zst && -f packets/packets00_0000.out.zst ]]; then
if [[ ! -f packets00_0000.out && ! -f packets00_0000.out.zst && (-f packets/packets00_0000.out || -f packets/packets00_0000.out.zst) ]]; then
mv packets/packets*.out* .
fi

Expand Down

0 comments on commit 2af9831

Please sign in to comment.