/[escript]/branches/py3_attempt2/bin/run-escript
ViewVC logotype

Diff of /branches/py3_attempt2/bin/run-escript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3113 by caltinay, Fri Aug 27 04:04:56 2010 UTC revision 3162 by jfenwick, Tue Sep 7 05:29:32 2010 UTC
# Line 350  else Line 350  else
350          if [ -f $ESCRIPT_ROOT/lib/pyversion ]          if [ -f $ESCRIPT_ROOT/lib/pyversion ]
351          then          then
352             compversion=`cat $ESCRIPT_ROOT/lib/pyversion`             compversion=`cat $ESCRIPT_ROOT/lib/pyversion`
353             intversion=`$PYTHON_CMD -V 2>&1`         intversion=`$PYTHON_CMD -c 'import sys;print "%d.%d.%d"%(sys.version_info[0], sys.version_info[1], sys.version_info[2])'`
354             if [ "$compversion" != "$intversion" ]             if [ "$compversion" != "$intversion" ]
355             then             then
356                echo "Python versions do not match. Escript was compiled for "$compversion"."                echo "Python versions do not match. Escript was compiled for "$compversion"."

Legend:
Removed from v.3113  
changed lines
  Added in v.3162

  ViewVC Help
Powered by ViewVC 1.1.26