diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-11-13 06:02:20 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-11-13 06:02:20 +0000 |
commit | 620dd7c5fd1895001a2c680d5dd1dbdbb6f3101d (patch) | |
tree | aa08afb7d58fabed8f365bf373751992b792680c /make/udhcp.mk | |
parent | 192bace39e7c0fe5c4ccf9add25b67cb37f8abdc (diff) | |
download | buildroot-novena-620dd7c5fd1895001a2c680d5dd1dbdbb6f3101d.tar.gz buildroot-novena-620dd7c5fd1895001a2c680d5dd1dbdbb6f3101d.zip |
By popular demand, use 'sed' rather than 'perl' for doing
search and replace stuff. Hopefully we do not have any
perl specific regexs that will be broken by this change,
but it seems to be working thus far anyways,
Diffstat (limited to 'make/udhcp.mk')
-rw-r--r-- | make/udhcp.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/make/udhcp.mk b/make/udhcp.mk index 8bd5c9067..50ff49004 100644 --- a/make/udhcp.mk +++ b/make/udhcp.mk @@ -44,9 +44,9 @@ $(UDHCP_DIR)/udhcpc: $(UDHCP_DIR)/.unpacked $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" prefix="$(TARGET_DIR)" -C $(UDHCP_DIR) $(TARGET_DIR)/sbin/udhcpc: $(UDHCP_DIR)/udhcpc - perl -i -p -e 's/pump/udhcpc/' $(TARGET_DIR)/etc/pcmcia/network* - perl -i -p -e 's/PUMP/UDHCPC/' $(TARGET_DIR)/etc/pcmcia/network* - perl -i -p -e 's/DHCP="n"/DHCP="y"/' $(TARGET_DIR)/etc/pcmcia/network* + sed -ie 's/pump/udhcpc/' $(TARGET_DIR)/etc/pcmcia/network* + sed -ie 's/PUMP/UDHCPC/' $(TARGET_DIR)/etc/pcmcia/network* + sed -ie 's/DHCP="n"/DHCP="y"/' $(TARGET_DIR)/etc/pcmcia/network* mkdir -p $(TARGET_DIR)/sbin rm -f $(TARGET_DIR)/sbin/udhcpc cp $(UDHCP_DIR)/udhcpc $(TARGET_DIR)/sbin/ |