summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/sed.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/sed.mk b/make/sed.mk
index 71546ca5c..2476c59aa 100644
--- a/make/sed.mk
+++ b/make/sed.mk
@@ -53,6 +53,7 @@ build-sed-host-binary: $(SED_DIR1)/$(SED_BINARY)
@if [ ! -f $(STAGING_DIR)/$(SED_TARGET_BINARY) -o $(STAGING_DIR)/$(SED_TARGET_BINARY) \
-ot $(SED_DIR1)/$(SED_BINARY) ] ; then \
set -x; \
+ mkdir -p $(STAGING_DIR)/bin; \
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(SED_DIR1) install; \
mv $(STAGING_DIR)/usr/bin/sed $(STAGING_DIR)/bin/; \
rm -rf $(STAGING_DIR)/share/locale $(STAGING_DIR)/usr/info \