- fix deploy error.

This commit is contained in:
gazebo
2018-08-07 09:41:19 +08:00
parent 19ddce7834
commit 01acd04ed2
2 changed files with 12 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
#!/usr/bin/env bash
if [ ! -d "../backup" ]; then
mkdir ../backup
if [ ! -d "backup" ]; then
mkdir backup
fi
if [ -f "../jx-callback.*~" ] then
mv ../jx-callback.*~ ../backup/
if [ -f "jx-callback.*~" ] then
mv jx-callback.*~ backup/
fi