r12482 - /trunk/libfile-spec-perl/debian/rules

bremner-guest at users.alioth.debian.org bremner-guest at users.alioth.debian.org
Thu Jan 10 20:28:53 UTC 2008


Author: bremner-guest
Date: Thu Jan 10 20:28:53 2008
New Revision: 12482

URL: http://svn.debian.org/wsvn/?sc=1&rev=12482
Log:
really conditionalize the rmdir by hand

Modified:
    trunk/libfile-spec-perl/debian/rules

Modified: trunk/libfile-spec-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libfile-spec-perl/debian/rules?rev=12482&op=diff
==============================================================================
--- trunk/libfile-spec-perl/debian/rules (original)
+++ trunk/libfile-spec-perl/debian/rules Thu Jan 10 20:28:53 2008
@@ -40,7 +40,7 @@
 	$(MAKE) test
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 	
-	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
+	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
 
 binary-arch: build install
 	dh_testdir




More information about the Pkg-perl-cvs-commits mailing list