summaryrefslogtreecommitdiff
path: root/distbuild/ansible/run-from-morph-source-tree.sh.template
diff options
context:
space:
mode:
Diffstat (limited to 'distbuild/ansible/run-from-morph-source-tree.sh.template')
-rw-r--r--distbuild/ansible/run-from-morph-source-tree.sh.template6
1 files changed, 6 insertions, 0 deletions
diff --git a/distbuild/ansible/run-from-morph-source-tree.sh.template b/distbuild/ansible/run-from-morph-source-tree.sh.template
new file mode 100644
index 00000000..0fa7ebd0
--- /dev/null
+++ b/distbuild/ansible/run-from-morph-source-tree.sh.template
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Script to use version of a program from a checkout of the morph.git source tree.
+
+source_path=/srv/morph
+PYTHONPATH="$source_path" "$source_path/{{ item }}" "$@"