Skip to content

Commit

Permalink
fix: don't quote shell glob
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgilman committed Jan 18, 2024
1 parent a7781bd commit d5ad73d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fetch_archive() {
fetcher --bucket "$bucket" archive -e "$env" -i "$id" "$archive_path"

echo ">>> Clearing storage path..."
rm -rf "${STORAGE_PATH:?}/*"
rm -rf "${STORAGE_PATH:?}"/*

echo ">>> Extracting archive..."
zstd -cd "$archive_path" | tar xf - -C "$STORAGE_PATH"
Expand Down Expand Up @@ -165,7 +165,7 @@ else
else
echo ">>> The genesis blocks are different."
echo ">>> Clearing storage path..."
rm -rf "${STORAGE_PATH:?}/*"
rm -rf "${STORAGE_PATH:?}"/*

echo ">>> Replacing genesis block..."
mkdir -p "$(dirname "$GENESIS_PATH")"
Expand Down

0 comments on commit d5ad73d

Please sign in to comment.