Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
Fix 404 error and permission error in install script
Browse files Browse the repository at this point in the history
  • Loading branch information
polymorpher committed Apr 5, 2017
1 parent 8b33609 commit 4a5649e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bin/installDynamoDbLocal
Expand Up @@ -15,11 +15,12 @@ DYNAMO_DIR=DynamoDBLocal
DEST=$PARENT/$DYNAMO_DIR

mkdir -p $TMP_DIR
wget http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest -O $TMP_FILE
wget https://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.tar.gz -O $TMP_FILE

cd $TMP_DIR
if [ -d "$DEST/" ]; then
echo "Replacing $DEST/"
rm -rf $DEST/
echo "Cleaning $DEST/"
rm -rf $DEST/*
fi
mkdir -p $DEST
tar xzf $TMP_FILE && mv *.jar $DEST/ && mv DynamoDBLocal_lib/ $DEST/
Expand Down

0 comments on commit 4a5649e

Please sign in to comment.