Skip to content

Commit

Permalink
Merge pull request #13 from multiversx/allow-simple-tar
Browse files Browse the repository at this point in the history
Accept both ".tar" and ".tar.gz" format for "regular" archives
  • Loading branch information
andreibancioiu authored May 5, 2023
2 parents 72863c5 + 37c0634 commit 0cb4faa
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 @@ -65,10 +65,10 @@ downloadRegularArchive() {
fi

echo "Downloading ${DOWNLOAD_REGULAR_ARCHIVE_URL} ..."
wget -O archive.tar.gz "${DOWNLOAD_REGULAR_ARCHIVE_URL}" || return 1
wget -O archive "${DOWNLOAD_REGULAR_ARCHIVE_URL}" || return 1

echo "Extracting archive ..."
tar -xzf archive.tar.gz || return 1
tar -xf archive || return 1
}

# Download a set of epochs with non-pruned state (with support for historical state lookup).
Expand Down

0 comments on commit 0cb4faa

Please sign in to comment.