Commit 3689996c authored by Egor Kremnev's avatar Egor Kremnev

fix scripts

parent b8fbe5d8
......@@ -49,8 +49,10 @@ if [[ -f ${DB_PATH} ]]; then
cp ${DB_PATH} ${STASH_DB_PATH}
fi
mkdir -p ${BACKUP_DIR_PATH}
mv ${PROJECT_ROOT} ${BACKUP_DIR_PATH}
if [ -f ${PROJECT_ROOT} ]; then
mkdir -p ${BACKUP_DIR_PATH}
mv ${PROJECT_ROOT} ${BACKUP_DIR_PATH}
fi
info "# Extracting app package to ${PROJECT_ROOT}"
mkdir -p ${PROJECT_ROOT}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment