1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Since rlimt is shipped as gnatpython-rlimit, fileutils need to be
fixed to give the right path
Also change gnatpython to python, since gnatpython isn't available
in debian
--- a/gnatpython/fileutils.py
+++ b/gnatpython/fileutils.py
@@ -1090,6 +1090,6 @@
if Env().host.os.name.lower() == 'windows':
path = get_path(os.path.join('Scripts', 'rlimit'))
else:
- path = get_path(os.path.join('bin', 'rlimit'))
+ path = get_path(os.path.join('bin', 'gnatpython-rlimit'))
return path or which("rlimit" + Env().host.os.exeext)
--- a/examples/echo_testsuite/run-test
+++ b/examples/echo_testsuite/run-test
@@ -1,4 +1,4 @@
-#!/usr/bin/env gnatpython
+#!/usr/bin/env python
"""Usage: run-test [options] test_dir
Run a test located in test_dir
|