- make root dir clean.

This commit is contained in:
gazebo
2018-08-07 09:35:38 +08:00
parent 460c4ab45b
commit 19ddce7834
2 changed files with 11 additions and 1 deletions

9
deploy/cleanup.sh Executable file
View File

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