]> granicus.if.org Git - yasm/commitdiff
Correction to Python detection on Windows
authorBrian Gladman <brg@gladman.plus.com>
Thu, 25 Feb 2010 11:47:02 +0000 (11:47 -0000)
committerBrian Gladman <brg@gladman.plus.com>
Thu, 25 Feb 2010 11:47:02 +0000 (11:47 -0000)
svn path=/trunk/yasm/; revision=2296

Mkfiles/vc10/genperf/run.bat
Mkfiles/vc9/genperf/run.bat

index 1811dd6e87a4ebf8cbe69222cb86094e30c7d1e0..9c22b57e7513ed4a4fa2e7826d30567ca6073059 100644 (file)
@@ -11,7 +11,7 @@ goto therest
 echo Building with Python ...\r
 set _res_=%_my_:*REG_SZ=%\r
 set _end_=%_res_:*exe"=%\r
-call set _python_=%%res:%_end_%=%%\r
+call set _python_=%%_res_:%_end_%=%%\r
 call %_python_% modules\arch\x86\gen_x86_insn.py\r
 \r
 :therest\r
index 1811dd6e87a4ebf8cbe69222cb86094e30c7d1e0..9c22b57e7513ed4a4fa2e7826d30567ca6073059 100644 (file)
@@ -11,7 +11,7 @@ goto therest
 echo Building with Python ...\r
 set _res_=%_my_:*REG_SZ=%\r
 set _end_=%_res_:*exe"=%\r
-call set _python_=%%res:%_end_%=%%\r
+call set _python_=%%_res_:%_end_%=%%\r
 call %_python_% modules\arch\x86\gen_x86_insn.py\r
 \r
 :therest\r