[Pkg-electronics-commits] [SCM] Packaging for Pcb branch, master, updated. 7b2d2e8fea731d06c87d98d8b024324b9c3e0469

أحمد المحمودي (Ahmed El-Mahmoudy) aelmahmoudy at users.sourceforge.net
Thu Nov 19 08:49:47 UTC 2009


The following commit has been merged in the master branch:
commit 16e71fa831351c4f68bb0fedf7f9e1c252ea7a6d
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>
Date:   Thu Nov 19 10:29:48 2009 +0200

    Added check when removing empty dirs too.

diff --git a/debian/rules b/debian/rules
index add167e..93318ff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,7 +41,7 @@ override_dh_install:
 	[ ! -d debian/$(package)-common ] || chmod a+x debian/$(package)-common/usr/share/pcb/tools/PCB2HPGL
 
 	# Remove empty dirs:
-	find debian/$(package)-common -type d -empty -delete
+	[ ! -d debian/$(package)-common ] || find debian/$(package)-common -type d -empty -delete
 
 override_dh_fixperms:
 	dh_fixperms

-- 
Packaging for Pcb



More information about the Pkg-electronics-commits mailing list