Skip to content

Commit

Permalink
Update bash file
Browse files Browse the repository at this point in the history
  • Loading branch information
ryardley committed Jan 27, 2025
1 parent bd10442 commit 0fa2f50
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/evm/scripts/update_excubiae.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,15 @@ cleanup() {
set -e
trap cleanup EXIT

echo "Creating temporary directory..."
mkdir -p "$TEMP_DIR"

echo "Cloning repository (sparse checkout)..."
echo "Cloning repository..."
mkdir -p "$TEMP_DIR"
git clone --depth 1 --branch "${BRANCH_NAME}" "${REPO_URL}" "${TEMP_DIR}"

COMMIT_HASH=$(cd "${TEMP_DIR}" && git rev-parse HEAD)

mkdir -p "$DESTINATION_FOLDER"

echo "Copying $SOURCE_FOLDER to $DESTINATION_FOLDER"
mkdir -p "$DESTINATION_FOLDER"
if [ -d "$SOURCE_FOLDER" ]; then
# Copy everything
rsync -av --exclude 'test/' "${SOURCE_FOLDER}/" "$DESTINATION_FOLDER"
Expand Down

0 comments on commit 0fa2f50

Please sign in to comment.