From: Sebastian Harl Date: Thu, 3 Mar 2011 13:10:06 +0000 (+0100) Subject: rules: Removed unnecessary occurrences of $(CURDIR). X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=747082ff6dc0640318fd7fe17704d8988c2a2e40;p=pkg-nagixsc.git rules: Removed unnecessary occurrences of $(CURDIR). --- diff --git a/debian/rules b/debian/rules index ebd95ba..8c7eeaa 100755 --- a/debian/rules +++ b/debian/rules @@ -11,23 +11,23 @@ export DH_VERBOSE=1 override_dh_install: - cp -a $(CURDIR)/nagixsc $(CURDIR)/debian/nagixsc/usr/share/python-support/nagixsc/ + cp -a nagixsc debian/nagixsc/usr/share/python-support/nagixsc/ - cp -a $(CURDIR)/nagixsc_conf2http.py $(CURDIR)/debian/nagixsc/usr/sbin/ - cp -a $(CURDIR)/nagixsc_http2nagios.py* $(CURDIR)/debian/nagixsc/usr/sbin/ - find $(CURDIR)/debian/nagixsc/usr/sbin/ -name '*.py' -print0 | xargs -0r chmod 755 - @for F in $(CURDIR)/debian/nagixsc/usr/sbin/*.py; do mv $${F} $${F/.py/}; done + 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 - cp -a $(CURDIR)/nagixsc_conf2xml.py $(CURDIR)/debian/nagixsc/usr/bin/ - cp -a $(CURDIR)/nagixsc_live2xml.py $(CURDIR)/debian/nagixsc/usr/bin/ - cp -a $(CURDIR)/nagixsc_read_xml.py $(CURDIR)/debian/nagixsc/usr/bin/ - cp -a $(CURDIR)/nagixsc_write_xml.py $(CURDIR)/debian/nagixsc/usr/bin/ - cp -a $(CURDIR)/nagixsc_xml2cfg.py $(CURDIR)/debian/nagixsc/usr/bin/ - cp -a $(CURDIR)/nagixsc_xml2nagios.py $(CURDIR)/debian/nagixsc/usr/bin/ - find $(CURDIR)/debian/nagixsc/usr/bin/ -name '*.py' -print0 | xargs -0r chmod 755 - @for F in $(CURDIR)/debian/nagixsc/usr/bin/*.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/ + cp -a nagixsc_read_xml.py debian/nagixsc/usr/bin/ + cp -a nagixsc_write_xml.py debian/nagixsc/usr/bin/ + 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 - cp -a $(CURDIR)/debian/etc/* $(CURDIR)/debian/nagixsc/etc/ + cp -a debian/etc/* debian/nagixsc/etc/ - find $(CURDIR)/debian/nagixsc/etc/init.d/ -print0 | xargs -0r chmod 755 + find debian/nagixsc/etc/init.d/ -print0 | xargs -0r chmod 755