diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-07-11 23:31:04 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-07-11 23:31:04 +0000 |
commit | 2c995aa4f0f6f289429478490ace9f81027be125 (patch) | |
tree | 9cdb0e8378b3b3322e2416d0950e6951d95844c6 | |
parent | 150236cda4516e5ff57b96c906a25fb95a83f3b2 (diff) | |
download | puppet-2c995aa4f0f6f289429478490ace9f81027be125.tar puppet-2c995aa4f0f6f289429478490ace9f81027be125.tar.gz puppet-2c995aa4f0f6f289429478490ace9f81027be125.tar.bz2 puppet-2c995aa4f0f6f289429478490ace9f81027be125.tar.xz puppet-2c995aa4f0f6f289429478490ace9f81027be125.zip |
add maintdb wrapper
-rw-r--r-- | modules/buildsystem/templates/wrapper.maintdb | 7 |
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) $@ + |