tag 650121 patch
thanks

Hi,

Here's a patch, based on Aaron's suggestion.  I verified that it fixes
the build failure.

-- 
Matt Kraai
https://ftbfs.org/kraai
>From 4984cba0943c810447d0153598ba39caacfa0dc9 Mon Sep 17 00:00:00 2001
From: Matt Kraai <kr...@ftbfs.org>
Date: Sun, 27 Nov 2011 06:46:35 -0800
Subject: [PATCH] Don't try to change permissions of non-existent files

Signed-off-by: Matt Kraai <kr...@ftbfs.org>
---
 debian/rules |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/debian/rules b/debian/rules
index ffe3096..c9172f8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,9 @@ override_dh_auto_install:
 	done
 
 override_dh_fixperms:
-	chmod 755 $(CURDIR)/debian/cmigemo-common/usr/share/cmigemo/tools/*.pl
+	if [ -d $(CURDIR)/debian/cmigemo-common/usr/share/cmigemo/tools ]; then \
+	  chmod 755 $(CURDIR)/debian/cmigemo-common/usr/share/cmigemo/tools/*.pl; \
+	fi
 	dh_fixperms
 
 
-- 
1.7.7.3

Reply via email to