diff options
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/sb2 | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -23,7 +23,12 @@ if [ -z "$SBOX_TARGET_ROOT" ]; then SBOX_TARGET_ROOT="$(readlink -f -n $PWD)" fi -export SBOX_LIBSB2 SBOX_REDIR_SCRIPTS SBOX_TARGET_ROOT SBOX_GCCWRAPPER SBOX_TARGET_COMPILER +SBOX_MAPPING_CACHE=$SBOX_TARGET_ROOT.sb2cache +if [ ! -d $SBOX_MAPPING_CACHE ]; then + mkdir -p $SBOX_MAPPING_CACHE +fi + +export SBOX_LIBSB2 SBOX_REDIR_SCRIPTS SBOX_TARGET_ROOT SBOX_MAPPING_CACHE SBOX_GCCWRAPPER SBOX_TARGET_COMPILER cd $SBOX_TARGET_ROOT |