diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-11-23 09:17:39 +0100 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-11-23 09:17:39 +0100 |
commit | 252e11f0e5a4eba7859108e0fb4bb3593819276f (patch) | |
tree | fa48e64f6cc793133910a0e1b9ad61565648e7b3 /db-update | |
parent | e27f2f70a4a6490abef64c66b7a74915f2d3e2e5 (diff) | |
download | dbscripts-252e11f0e5a4eba7859108e0fb4bb3593819276f.tar.gz dbscripts-252e11f0e5a4eba7859108e0fb4bb3593819276f.tar.xz |
Remove some harmless error messages
If add/del dirs exist, we try to fix it all up and it can
error quite loudly
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'db-update')
-rwxr-xr-x | db-update | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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="" |