slight tweak to commandline args to match new windows build script

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-06-11 22:41:59 +00:00
commit 8a96a91034

View file

@ -1,16 +1,17 @@
#!/usr/local/bin/python
# This script builds a swig-1.3 distribution.
# Usage : mkdist.py directory, where directory should be swig-1.3.x
# Usage : mkdist.py version, where version should be 1.3.x
import sys
import string
import os
try:
dirname = sys.argv[1]
version = sys.argv[1]
dirname = "swig-" + version
except:
print "Usage: mkdist.py directory, where directory should be swig-1.3.x"
print "Usage: mkdist.py version, where version should be 1.3.x"
sys.exit(0)
# Check name matches normal unix conventions