Fix install error caused by 'ln -sf' which tries to use the target's

'ln' instead of the host. A quick grep through the other packages
shows that this may be an issue as well. I will probably have more
fixes later today.
This commit is contained in:
"Steven J. Hill" 2005-04-23 17:45:18 +00:00
parent 7f6a277243
commit 9b82915de4

View File

@ -59,7 +59,7 @@ $(TARGET_DIR)/$(BASH_TARGET_BINARY): $(BASH_DIR)/$(BASH_BINARY)
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(BASH_DIR) install
rm -f $(TARGET_DIR)/bin/bash*
mv $(TARGET_DIR)/usr/bin/bash* $(TARGET_DIR)/bin/
(cd $(TARGET_DIR)/bin; ln -fs bash sh)
(cd $(TARGET_DIR)/bin; /bin/ln -fs bash sh)
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc