diff options
Diffstat (limited to 'databases/puppetdb/files/patch-ext__files__puppetdb')
-rw-r--r-- | databases/puppetdb/files/patch-ext__files__puppetdb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/databases/puppetdb/files/patch-ext__files__puppetdb b/databases/puppetdb/files/patch-ext__files__puppetdb new file mode 100644 index 000000000000..76f891510301 --- /dev/null +++ b/databases/puppetdb/files/patch-ext__files__puppetdb @@ -0,0 +1,20 @@ +--- ./ext/files/puppetdb.orig 2014-09-01 19:00:53.880156353 +0000 ++++ ./ext/files/puppetdb 2014-09-01 19:03:36.589145104 +0000 +@@ -6,7 +6,7 @@ + + # Display usage then exit + function usage { +- local libexecdir=/usr/libexec/puppetdb ++ local libexecdir=%%PREFIX%%/libexec/puppetdb + local files="${libexecdir}/puppetdb-*" + + # Seems trying to match an asterisk is hard in bash +@@ -48,7 +48,7 @@ + function execsubcommand { + sub=$1 + shift +- cmd="/usr/libexec/puppetdb/puppetdb-${sub}" ++ cmd="%%PREFIX%%/libexec/puppetdb/puppetdb-${sub}" + + if [ -e ${cmd} ]; then + exec "${cmd}" "$@" |