Fix minor problems with atomix-push-bits script
Change-Id: Ibcf64aceb8ae11f19eb9573d542b6da6d627c45c
diff --git a/tools/test/bin/atomix-push-bits b/tools/test/bin/atomix-push-bits
index 6b5d68b..24fc9b7 100755
--- a/tools/test/bin/atomix-push-bits
+++ b/tools/test/bin/atomix-push-bits
@@ -46,7 +46,7 @@
ATOMIX_TAR=$ATOMIX_MAVEN
else
echo "Pushing to $node from $ATOMIX_LOCAL"
- rm $ATOMIX_LOCAL
+ rm -f $ATOMIX_LOCAL
wget -O $ATOMIX_LOCAL $ATOMIX_REMOTE
ATOMIX_TAR=$ATOMIX_LOCAL
fi
@@ -59,6 +59,6 @@
if [ -n "$locHash" ] && [ "$locHash" = "$remHash" ]; then
echo "Atomix bits /tmp/atomix.tar.gz already up-to-date on $node..."
else
- ssh $remote rm -f $ATOMIX_TAR
+ ssh $remote rm -f /tmp/atomix.tar.gz
scp -q $ATOMIX_TAR $remote_with_bracket:/tmp/atomix.tar.gz
fi