2012-10-11 07:17:09 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
(
|
|
|
|
cd ../..
|
|
|
|
|
|
|
|
# Back up
|
2013-05-04 00:48:31 +08:00
|
|
|
|
2012-10-11 07:17:09 +08:00
|
|
|
mkdir -p bak
|
2014-02-21 17:21:03 +08:00
|
|
|
for SRC in v* src alias; do
|
|
|
|
[ -e "$SRC" ] && mv "$SRC" bak
|
|
|
|
done
|
2014-08-20 15:37:38 +08:00
|
|
|
if [ -d versions ]; then
|
|
|
|
mv versions bak
|
|
|
|
fi
|
2014-02-21 17:21:03 +08:00
|
|
|
true
|
2012-10-11 07:17:09 +08:00
|
|
|
)
|