summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/pmove.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/pmove.sh b/bin/pmove.sh
index ed6e33d..d831b90 100755
--- a/bin/pmove.sh
+++ b/bin/pmove.sh
@@ -51,6 +51,15 @@ do
for FILE in ${FILES}
do
+ if [ ! -e "${FILE}" ]
+ then
+ echo "incomplete upload: ${CHANGE}, skipping"
+ continue
+ fi
+ done
+
+ for FILE in ${FILES}
+ do
mv "${UPLOAD}/${FILE}" .
done
@@ -115,6 +124,15 @@ then
for FILE in ${FILES}
do
+ if [ ! -e "${FILE}" ]
+ then
+ echo "incomplete upload: ${DSC}, skipping"
+ continue
+ fi
+ done
+
+ for FILE in ${FILES}
+ do
mv "${UPLOAD}/${FILE}" .
if [ -e ../orig/${FILE} ]