From: Ulf Samuelsson Date: Sat, 11 Aug 2007 23:57:19 +0000 (-0000) Subject: Avoid error msg when TARGET_DIR/bin is created for the umpteenth time X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=17facb94c576467ab8508832ec0f94765b0d6650;p=buildroot.git Avoid error msg when TARGET_DIR/bin is created for the umpteenth time --- diff --git a/package/bash/bash.mk b/package/bash/bash.mk index a7c0166071..bf8eda79cd 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -62,9 +62,9 @@ $(BASH_DIR)/$(BASH_BINARY): $(BASH_DIR)/.configured $(MAKE1) CC=$(TARGET_CC) CC_FOR_BUILD="$(HOSTCC)" -C $(BASH_DIR) $(TARGET_DIR)/$(BASH_TARGET_BINARY): $(BASH_DIR)/$(BASH_BINARY) + mkdir -p $(TARGET_DIR)/bin $(MAKE1) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(BASH_DIR) install rm -f $(TARGET_DIR)/bin/bash* - -mkdir $(TARGET_DIR)/bin mv $(TARGET_DIR)/usr/bin/bash* $(TARGET_DIR)/bin/ (cd $(TARGET_DIR)/bin; /bin/ln -fs bash sh) rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \