aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/buildsystem/templates/wrapper.maintdb7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/buildsystem/templates/wrapper.maintdb b/modules/buildsystem/templates/wrapper.maintdb
new file mode 100644
index 00000000..a27994ff
--- /dev/null
+++ b/modules/buildsystem/templates/wrapper.maintdb
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+maintdbuser="<%= maintdb_login %>"
+maintdbpath="<%= maintdb_binpath %>"
+
+sudo -u "$maintdbuser" "$maintdbpath" $(whoami) $@
+