]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
naoki: Fix creation of /tools_xxx.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 27 Nov 2009 14:31:49 +0000 (15:31 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 27 Nov 2009 14:31:49 +0000 (15:31 +0100)
tools/naoki-functions

index 0dbb8f89ecf4240d30bfd7baaca6bdcafe0d5b50..40cc408255d4484cdefba5c69f3d7be376c9b2ac 100644 (file)
@@ -69,7 +69,8 @@ function naoki_prepare() {
        mkdir -p ${BUILD_DIR}/usr/src
 
        if [ "${TOOLCHAIN}" = "1" ]; then
-               # Symlinking /tools_xxx
+               # Creating /tools_xxx
+               mkdir ${TOOLS_DIR_REAL} 2>/dev/null
                if [ ! -h "${TOOLS_DIR}" ]; then
                        ln -fs ${TOOLS_DIR_REAL} ${TOOLS_DIR}
                fi