Can't move a file to the same name.

Change-Id: I7c8724a17f5b3c3932437d89382162f936ed7b50
This commit is contained in:
Monty Taylor 2012-06-28 10:03:03 -07:00
parent 36fb7bd077
commit 8a44d937a4

View File

@ -61,9 +61,8 @@ if [ -f setup.py ] ; then
snapshotversion=$(find_next_version)
echo mv "$tarball" "dist/$(basename $tarball .tar.gz)${SEPARATOR}${snapshotversion}.tar.gz"
mv "$tarball" "dist/$(basename $tarball .tar.gz)${SEPARATOR}${snapshotversion}.tar.gz"
else
elif [ "$tarball" != "dist/${PROJECT}-${snapshotversion}.tar.gz" ] ; then
echo mv "$tarball" "dist/${PROJECT}-${snapshotversion}.tar.gz"
mv "$tarball" "dist/${PROJECT}-${snapshotversion}.tar.gz"
fi
fi