Skip to content

Commit 9e2e4f4

Browse files
committedMay 20, 2015
Update deploy.sh
1 parent 39efc9b commit 9e2e4f4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎deploy.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,14 @@ for f in $(ls -1); do
3838
done
3939

4040
echo "Updating www content begin..."
41+
4142
cd www
42-
rm edit/*
43+
if [ -d "edit" ]; then
44+
rm edit/*
45+
else
46+
mkdir edit
47+
fi
48+
4349
for f in $(ls -1 *.*); do
4450
echo "Updating $f begin..."
4551
sed -e "s/<REGION>/$REGION/g" \

0 commit comments

Comments
 (0)
Please sign in to comment.