# HG changeset patch # User Rob Landley # Date 1270786153 18000 # Node ID 87b3a69ca71cb6346c3e890bad2465f2d8b935dd # Parent 5bf2878107413d33ae92f206b5a71ddc92e35b46 Delete empty build/temp-* directories when we're done with them. diff -r 5bf287810741 -r 87b3a69ca71c sources/functions.sh --- a/sources/functions.sh Wed Apr 07 18:49:30 2010 -0400 +++ b/sources/functions.sh Thu Apr 08 23:09:13 2010 -0500 @@ -601,6 +601,10 @@ function create_stage_tarball() { + # Remove the temporary directory, if empty + + rmdir "$WORK" 2>/dev/null + # Handle linking to base architecture if we just built a derivative target. cd "$BUILD" || dienow