changeset 1741:189a1748c8bf draft

add NO_CLEANUP=temp to delete build/temp-$ARCH but not output directory.
author Rob Landley <rob@landley.net>
date Sun, 22 Feb 2015 16:53:37 -0600
parents 258427b0c8be
children 50c3a1575288
files sources/functions.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/functions.sh	Sat Feb 21 16:34:42 2015 -0600
+++ b/sources/functions.sh	Sun Feb 22 16:53:37 2015 -0600
@@ -64,7 +64,7 @@
   STAGE_DIR="$BUILD/${STAGE_NAME}-${ARCH_NAME}"
 
   blank_tempdir "$STAGE_DIR"
-  blank_tempdir "$WORK"
+  NO_CLEANUP=${NO_CLEANUP/temp//} blank_tempdir "$WORK"
 
   export PATH="$(cc_path "$ARCH")$PATH"
   [ ! -z "$HOST_ARCH" ] && [ "$HOST_ARCH" != "$ARCH" ] &&