From 37c072db64f8899a73df5f7a9900feaac2e674a3 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Thu, 3 Mar 2011 14:11:52 +0100 Subject: [PATCH] rules: Removed bashism. --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 8c7eeaa..e9bebd7 100755 --- a/debian/rules +++ b/debian/rules @@ -16,7 +16,7 @@ override_dh_install: cp -a nagixsc_conf2http.py debian/nagixsc/usr/sbin/ cp -a nagixsc_http2nagios.py* debian/nagixsc/usr/sbin/ find debian/nagixsc/usr/sbin/ -name '*.py' -print0 | xargs -0r chmod 755 - for F in debian/nagixsc/usr/sbin/*.py; do mv $${F} $${F/.py/}; done + for F in debian/nagixsc/usr/sbin/*.py; do mv $${F} $${F%.py}; done cp -a nagixsc_conf2xml.py debian/nagixsc/usr/bin/ cp -a nagixsc_live2xml.py debian/nagixsc/usr/bin/ @@ -25,7 +25,7 @@ override_dh_install: cp -a nagixsc_xml2cfg.py debian/nagixsc/usr/bin/ cp -a nagixsc_xml2nagios.py debian/nagixsc/usr/bin/ find debian/nagixsc/usr/bin/ -name '*.py' -print0 | xargs -0r chmod 755 - for F in debian/nagixsc/usr/bin/*.py; do mv $${F} $${F/.py/}; done + for F in debian/nagixsc/usr/bin/*.py; do mv $${F} $${F%.py}; done cp -a debian/etc/* debian/nagixsc/etc/ -- 2.30.2