Commits

Brian Kearns committed 086df98

fix test_package when faking pypy_c

  • Participants
  • Parent commits 80ab72a

Comments (0)

Files changed (1)

File pypy/tool/release/test/test_package.py

         exe_name_in_archive = 'bin/pypy'
     pypy_c = py.path.local(pypydir).join('goal', basename)
     if not pypy_c.check():
-        os.system("echo faked_pypy_c> %s" % (pypy_c,))
+        pypy_c.write("#!/bin/sh")
         pypy_c.chmod(0755)
         fake_pypy_c = True
     else: