[pypy-svn] r49331 - pypy/dist/pypy/translator
antocuni at codespeak.net
antocuni at codespeak.net
Tue Dec 4 13:50:00 CET 2007
Author: antocuni
Date: Tue Dec 4 13:49:59 2007
New Revision: 49331
Modified:
pypy/dist/pypy/translator/driver.py
Log:
uname -o doesn't work on OS/X
Modified: pypy/dist/pypy/translator/driver.py
==============================================================================
--- pypy/dist/pypy/translator/driver.py (original)
+++ pypy/dist/pypy/translator/driver.py Tue Dec 4 13:49:59 2007
@@ -664,7 +664,7 @@
f = file(newexename, 'w')
f.write("""#!/bin/bash
LEDIT=`type -p ledit`
-if [ `uname -o` = 'Cygwin' ]; then MONO=; else MONO=mono; fi
+if [ `uname -s` = 'Cygwin' ]; then MONO=; else MONO=mono; fi
$LEDIT $MONO "$(dirname $0)/$(basename $0)-data/%s" "$@" # XXX doesn't work if it's placed in PATH
""" % main_exe_name)
f.close()
More information about the Pypy-commit
mailing list