From 601743e74b3a647891bfe87989867a43d5596705 Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Sun, 7 Oct 2012 10:34:16 +0100
Subject: More attempts to get Lucid building again


diff --git a/Swift/Packaging/Debian/package.sh b/Swift/Packaging/Debian/package.sh
index 8fb1237..d4b6484 100755
--- a/Swift/Packaging/Debian/package.sh
+++ b/Swift/Packaging/Debian/package.sh
@@ -49,7 +49,11 @@ else
 	# Remove development files & 3rdParty files
 	rm -rf $DIRNAME/.git
 	find $DIRNAME -name .gitignore | xargs rm -f
-	find $DIRNAME/3rdParty -type f | grep -v SConscript | xargs rm -f
+	if [ -z "$SWIFT_COPY_UUID" ]; then
+		find $DIRNAME/3rdParty -type f | grep -v SConscript | xargs rm -f
+	else
+		find $DIRNAME/3rdParty -type f | grep -v uuid | grep -v SConscript | xargs rm -f
+	fi
 	find $DIRNAME/3rdParty -depth -empty -type d -exec rmdir {} \;
 	rm -rf $DIRNAME/3rdParty/SCons
 	rm -rf $DIRNAME/Swift/Packaging/Debian
-- 
cgit v0.10.2-6-g49f6