From 8a96a910348320bf7e191dacb6ecbd07d2f618cc Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sat, 11 Jun 2005 22:41:59 +0000 Subject: [PATCH] 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 --- SWIG/Tools/mkdist.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/SWIG/Tools/mkdist.py b/SWIG/Tools/mkdist.py index ac5f81943..604cf5652 100755 --- a/SWIG/Tools/mkdist.py +++ b/SWIG/Tools/mkdist.py @@ -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