Skip to content

Commit

Permalink
Update deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
danilop committed May 20, 2015
1 parent 39efc9b commit 9e2e4f4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,14 @@ for f in $(ls -1); do
done

echo "Updating www content begin..."

cd www
rm edit/*
if [ -d "edit" ]; then
rm edit/*
else
mkdir edit
fi

for f in $(ls -1 *.*); do
echo "Updating $f begin..."
sed -e "s/<REGION>/$REGION/g" \
Expand Down

0 comments on commit 9e2e4f4

Please sign in to comment.