about summary refs log tree commit diff
path: root/pkgs/tools/backup/duplicity/use-installed-scripts-in-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/backup/duplicity/use-installed-scripts-in-test.patch')
-rw-r--r--pkgs/tools/backup/duplicity/use-installed-scripts-in-test.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/tools/backup/duplicity/use-installed-scripts-in-test.patch b/pkgs/tools/backup/duplicity/use-installed-scripts-in-test.patch
new file mode 100644
index 000000000000..191808abc637
--- /dev/null
+++ b/pkgs/tools/backup/duplicity/use-installed-scripts-in-test.patch
@@ -0,0 +1,13 @@
+--- a/setup.py
++++ b/setup.py
+@@ -92,10 +92,6 @@ class TestCommand(test):
+                 except Exception:
+                     pass
+
+-        os.environ['PATH'] = "%s:%s" % (
+-            os.path.abspath(build_scripts_cmd.build_dir),
+-            os.environ.get('PATH'))
+-
+         test.run(self)
+
+     def run_tests(self):