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:
parent
45dbb3cd61
commit
8a96a91034
1 changed files with 4 additions and 3 deletions
|
|
@ -1,16 +1,17 @@
|
||||||
#!/usr/local/bin/python
|
#!/usr/local/bin/python
|
||||||
|
|
||||||
# This script builds a swig-1.3 distribution.
|
# 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 sys
|
||||||
import string
|
import string
|
||||||
import os
|
import os
|
||||||
|
|
||||||
try:
|
try:
|
||||||
dirname = sys.argv[1]
|
version = sys.argv[1]
|
||||||
|
dirname = "swig-" + version
|
||||||
except:
|
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)
|
sys.exit(0)
|
||||||
|
|
||||||
# Check name matches normal unix conventions
|
# Check name matches normal unix conventions
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue