]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Fixed the creation of the toolchain dir.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 11 Oct 2008 22:11:54 +0000 (22:11 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 11 Oct 2008 22:11:54 +0000 (22:11 +0000)
tools/make-include

index a73c78693657a248c9c2a0956e3ea2046cd4c61d..e7147c68765ac9d8511a062e40b680165040a48a 100644 (file)
@@ -689,6 +689,7 @@ fi
 
 gettoolchain() {
        check_user
+       [ -d "${DIR_TOOLCHAIN}" ] || mkdir -p ${DIR_TOOLCHAIN}
        if [ ! -f $BASEDIR/cache/toolchains/$TOOLCHAINNAME.tar.bz2 ]; then
                URL_TOOLCHAIN=$(grep URL_TOOLCHAIN lfs/Config | awk '{ print $3 }')
                DIR_TOOLCHAIN="$BASEDIR/cache/toolchains"