[Pkg-nagios-changes] [pkg-nagios-snmp-plugins] 01/02: d/rules: Fix installation location
Jan Wagner
waja at moszumanska.debian.org
Thu Dec 8 09:05:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
waja pushed a commit to branch master
in repository pkg-nagios-snmp-plugins.
commit d014d9b6959d208241818c7e3b42c5be87a0f338
Author: Jan Wagner <waja at cyconet.org>
Date: Thu Dec 8 09:09:45 2016 +0100
d/rules: Fix installation location
---
debian/rules | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 2752d73..36f8c80 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,8 +32,8 @@ install: build
# Add here commands to install the package into debian/nagios-snmp-plugins.
for PLUGINS in plugins/*.pl; \
do \
- install -D -m 0755 $$PLUGINS $(NP_DIR)$(NP_LIBEXEC)/$$PLUGINS || exit 1; \
- sed -i "s#/usr/local/icinga/libexec#$(NP_LIBEXEC)#" $(NP_DIR)$(NP_LIBEXEC)/$$PLUGINS || exit 1; \
+ install -D -m 0755 $$PLUGINS $(NP_DIR)$(NP_LIBEXEC)/`basename $$PLUGINS` || exit 1; \
+ sed -i "s#/usr/local/icinga/libexec#$(NP_LIBEXEC)#" $(NP_DIR)$(NP_LIBEXEC)/`basename $$PLUGINS` || exit 1; \
done
# copying templates them into seperate "template" directories outside of
# /usr/share/doc for ucf to use.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-snmp-plugins.git
More information about the Pkg-nagios-changes
mailing list