The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / python-ipython / 0001-set-correct-python-executable-path.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/python-ipython/0001-set-correct-python-executable-path.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/python-ipython/0001-set-correct-python-executable-path.patch
new file mode 100644 (file)
index 0000000..0fbd5a1
--- /dev/null
@@ -0,0 +1,15 @@
+Set correct Python executable path
+
+Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
+
+--- python-ipython-2.1.0/setupbase.py  2014-05-21 15:19:12.000000000 -0400
++++ python-ipython-2.1.0-new/setupbase.py      2014-07-23 23:34:32.892030423 -0400
+@@ -394,7 +394,7 @@ class build_scripts_entrypt(build_script
+             mod, func = entrypt.split(':')
+             with open(outfile, 'w') as f:
+-                f.write(script_src.format(executable=sys.executable,
++                f.write(script_src.format(executable='/usr/bin/env python',
+                                           mod=mod, func=func))
+         return outfiles, outfiles