- make sure that the path for the lzma-host-binary exist
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 31 Aug 2007 14:27:07 +0000 (14:27 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 31 Aug 2007 14:27:07 +0000 (14:27 -0000)
package/lzma/lzma.mk

index 9a5a104f5399aafd04f45d4344a3f0dce4acf824..934e492634e2365a4eba43d2d78c7474a3f067d8 100644 (file)
@@ -56,7 +56,7 @@ $(STAGING_DIR)/bin/lzma: $(LZMA_HOST_DIR)/src/lzma/lzma
 .PHONY: lzma-host use-lzma-host-binary
 use-lzma-host-binary:
        if [ ! -f "$(TOOL_BUILD_DIR)/bin/lzma" ]; then \
-               [ -d $(TOOL_BUILD_DIR)/bin ] || mkdir $(TOOL_BUILD_DIR)/bin; \
+               [ -d $(TOOL_BUILD_DIR)/bin ] || mkdir -p $(TOOL_BUILD_DIR)/bin; \
                ln -sf "$(HOST_LZMA_IF_ANY)" "$(TOOL_BUILD_DIR)/bin/lzma"; \
        fi