From 2c995aa4f0f6f289429478490ace9f81027be125 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Mon, 11 Jul 2011 23:31:04 +0000 Subject: add maintdb wrapper --- modules/buildsystem/templates/wrapper.maintdb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 modules/buildsystem/templates/wrapper.maintdb 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) $@ + -- cgit v1.2.1