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:
parent
23f2b54fae
commit
086308d7d5
1 changed files with 4 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue