summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-11 23:57:19 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-11 23:57:19 +0000
commit17facb94c576467ab8508832ec0f94765b0d6650 (patch)
treecf9dae54cf262690aa5bb6f0b6d9d48c42f14189 /package
parent6452ee886f06b5b48e887bcec28e303563e83e14 (diff)
Avoid error msg when TARGET_DIR/bin is created for the umpteenth time
Diffstat (limited to 'package')
-rw-r--r--package/bash/bash.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/bash/bash.mk b/package/bash/bash.mk
index a7c016607..bf8eda79c 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 \