diff --git a/develop/ccache/parse-config b/develop/ccache/parse-config index ae703be19..09bb98a23 100644 --- a/develop/ccache/parse-config +++ b/develop/ccache/parse-config @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../ccache/parse-config -# Copyright (C) 2006 - 2007 The OpenSDE Project +# Copyright (C) 2006 - 2009 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -24,8 +24,17 @@ elif [ "$SDECFG_DEBUG" == 1 ]; then else unset ${!CCACHE_*} + # migration, build/ccache-* -> build/.ccache-* + # + for x in $(cd "$base/build" 2> /dev/null && ls -1d ccache-* 2> /dev/null); do + if [ ! -d "$base/build/.$x" ]; then + echo_warning "ccache: moving $x to build/.$x" + mv "$base/build/$x" "$base/build/.$x" + fi + done + # wrap the sytem compiler - ccache_dir=ccache + ccache_dir=".ccache" if atstage toolchain; then x=`/bin/uname -m | uname2arch` var_append ccache_dir - $x