summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/coreutils/coreutils.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk
index db0d8a941f..8901d2337c 100644
--- a/package/coreutils/coreutils.mk
+++ b/package/coreutils/coreutils.mk
@@ -102,7 +102,7 @@ endif
define COREUTILS_POST_INSTALL
# some things go in root rather than usr
for f in $(COREUTILS_BIN_PROGS); do \
- mv -f $(TARGET_DIR)/usr/bin/$$f $(TARGET_DIR)/bin/$$f; \
+ mv -f $(TARGET_DIR)/usr/bin/$$f $(TARGET_DIR)/bin/$$f || exit 1; \
done
# link for archaic shells
ln -fs test $(TARGET_DIR)/usr/bin/[
OpenPOWER on IntegriCloud