summaryrefslogtreecommitdiffstats
path: root/db-update
diff options
context:
space:
mode:
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update4
1 files changed, 3 insertions, 1 deletions
diff --git a/db-update b/db-update
index c76337a..1d2efa2 100755
--- a/db-update
+++ b/db-update
@@ -97,7 +97,9 @@ if [ -d "${stagedir}/add" ]; then
echo "Please delete staging/<reponame>/{add,del}"
echo " and ensure you are using the newest devtools"
echo "--------------------------------------------------"
- /bin/mv "${stagedir}/add/"* "$stagedir/"
+ if [ -e "${stagedir}/add/"* ]; then
+ /bin/mv "${stagedir}/add/"* "$stagedir/"
+ fi
fi
to_add=""