From bf858ff61053df90bdb59139e52c470f01db1a5d Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Thu, 29 Apr 2010 11:02:17 +0200 Subject: [PATCH] move initialization up --- build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build b/build index 91e9e38..62664ba 100755 --- a/build +++ b/build @@ -81,6 +81,7 @@ RSYNCSRC= RSYNCDEST= RSYNCDONE= : ${EMULATOR_ARCHS:="armv4l armv5el armv6el armv7el sh4 ppc ppc64 mips mipsel"} +: ${CACHE_DIR:=/var/cache/build} export EMULATOR_ARCHS @@ -931,8 +932,6 @@ if test "$VM_TYPE" = "lxc"; then VM_SWAP='' fi -test -n "$CACHE_DIR" || CACHE_DIR=/var/cache/build - if test -n "$KILL" ; then test -z "$SRCDIR" || usage if test -n "$VM_IMAGE" -a -n "$VM_SWAP" -a -n "$VM_TYPE"; then -- 2.7.4