diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-10-07 09:34:16 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-10-07 09:35:55 (GMT) |
commit | 601743e74b3a647891bfe87989867a43d5596705 (patch) | |
tree | 1aa150d714cdc92c836d5e574a4bd8cf802d7040 /Swift/Packaging/Debian/package.sh | |
parent | 543b1dc34122b328c48a19b9704fa0cc8a56c3c6 (diff) | |
download | swift-601743e74b3a647891bfe87989867a43d5596705.zip swift-601743e74b3a647891bfe87989867a43d5596705.tar.bz2 |
More attempts to get Lucid building againswift-2.0beta2
Diffstat (limited to 'Swift/Packaging/Debian/package.sh')
-rwxr-xr-x | Swift/Packaging/Debian/package.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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 |