From 97c7167f4ace43c5a43c6321c3e9507a6e64512a Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 2 Feb 2011 13:32:10 +0100 Subject: [PATCH] rules: Do not use $(CURDIR). This is not necessary in all cases. --- debian/rules | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/debian/rules b/debian/rules index a7b64f6..63c17c3 100755 --- a/debian/rules +++ b/debian/rules @@ -28,18 +28,18 @@ install: build dh_prep dh_installdirs - cp -a system $(CURDIR)/debian/libkohana2-php/usr/share/php/kohana2/ + cp -a system debian/libkohana2-php/usr/share/php/kohana2/ # remove DejaVu-Fonts and create symlink - rm -rf $(CURDIR)/debian/libkohana2-php/usr/share/php/kohana2/system/fonts + rm -rf debian/libkohana2-php/usr/share/php/kohana2/system/fonts - cp -a modules $(CURDIR)/debian/libkohana2-modules-php/usr/share/php/kohana2/ - rm -f $(CURDIR)/debian/libkohana2-modules-php/usr/share/php/kohana2/modules/kodoc/views/kodoc/media/js/jquery.js + cp -a modules debian/libkohana2-modules-php/usr/share/php/kohana2/ + rm -f debian/libkohana2-modules-php/usr/share/php/kohana2/modules/kodoc/views/kodoc/media/js/jquery.js ln -s /usr/share/javascript/jquery/jquery.js \ - $(CURDIR)/debian/libkohana2-modules-php/usr/share/php/kohana2/modules/kodoc/views/kodoc/media/js/jquery.js + debian/libkohana2-modules-php/usr/share/php/kohana2/modules/kodoc/views/kodoc/media/js/jquery.js # fix permissions - for file in `find $(CURDIR)/debian/libkohana2-* -name '*.php'`; do \ + for file in `find debian/libkohana2-* -name '*.php'`; do \ chmod 644 $$file; \ done -- 2.30.2