From 34192bcf316cbdd2a59a0c33e374d1a204bbd0ad Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Thu, 27 Nov 2008 18:31:05 +0100
Subject: Don't attempt to remove scripts directory in lh_clean if it doesn't
 exist.

---
 helpers/lh_clean | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/helpers/lh_clean b/helpers/lh_clean
index e037ea8..ab104b4 100755
--- a/helpers/lh_clean
+++ b/helpers/lh_clean
@@ -52,7 +52,11 @@ do
 			"${0}" --binary
 			"${0}" --stage
 			"${0}" --source
-			rmdir --ignore-fail-on-non-empty scripts
+
+			if [ -d scripts ]
+			then
+				rmdir --ignore-fail-on-non-empty scripts
+			fi
 			;;
 
 		--cache)
-- 
cgit v1.0