Added missing pathname prefix

The postinst script was looking for Nagios files in the wrong directory.
This commit is contained in:
Markus Makela 2016-03-21 16:28:20 +02:00
parent 19016f4a9b
commit f0e6748949

View File

@ -67,7 +67,7 @@ fi
# This will allow us to install the Perl scripts as executable files
# without adding the Perl dependencies
for i in $(find @MAXSCALE_SHAREDIR@/plugins/nagios -name '*.pl')
for i in $(find @CMAKE_INSTALL_PREFIX@/@MAXSCALE_SHAREDIR@/plugins/nagios -name '*.pl')
do
chmod ug+x $i
done