summaryrefslogtreecommitdiff
path: root/distbuild/ansible/run-from-morph-source-tree.sh.template
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-01-14 17:06:33 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2015-03-18 16:30:56 +0000
commit426a6f761bcc734f2b53a088e4b86de24c62e321 (patch)
tree7234dca64154ac1459fd48bcc93e07d82b3de32b /distbuild/ansible/run-from-morph-source-tree.sh.template
parent394da104fda75977fce44212d3051de973102c2e (diff)
downloadmorph-426a6f761bcc734f2b53a088e4b86de24c62e321.tar.gz
Add Ansible playbooks for distbuild admin
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 }}" "$@"