remove tarball if exists

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-10-15 01:41:14 +00:00
commit 086308d7d5

View file

@ -19,10 +19,13 @@ if string.lower(dirname) != dirname:
print "directory name ("+dirname+") should be in lowercase"
sys.exit(0)
# If directory exists, remove it
# If directory and tarball exist, remove it
print "Removing ", dirname
os.system("rm -rf "+dirname)
print "Removing old tarball "+dirname+".tar.gz if exists"
os.system("rm -f "+dirname+".tar.gz")
# Do a CVS export on the directory name
print "Checking out SWIG"