better #! for finding python

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-12-31 01:10:49 +00:00
commit 30f6b83d12
2 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,4 @@
#!/usr/local/bin/python
#!/usr/bin/env python
# This script builds a swig-1.3 distribution.
# Usage : mkdist.py version, where version should be 1.3.x

View file

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# This script builds the SWIG source tarball, creates the Windows executable and the Windows zip package
# and uploads them both to SF ready for release
@ -34,6 +34,7 @@ print "Uploading to Sourceforge"
os.system("rsync --archive --verbose -P --times -e ssh swig-" + version + ".tar.gz " + username + "@frs.sourceforge.net:uploads/") and failed("")
os.system("rsync --archive --verbose -P --times -e ssh swigwin-" + version + ".zip " + username + "@frs.sourceforge.net:uploads/") and failed("")
os.system("svn copy -m \"rel-" + version + "\" https://swig.svn.sourceforge.net/svnroot/swig/trunk https://swig.svn.sourceforge.net/svnroot/swig/tags/rel-" + version + "/")
print "not labelling...."
#os.system("svn copy -m \"rel-" + version + "\" https://swig.svn.sourceforge.net/svnroot/swig/trunk https://swig.svn.sourceforge.net/svnroot/swig/tags/rel-" + version + "/")
print "Finished"