From dea2c12405f72c45b5fb5350d45017fb90a8b4d6 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 8 Dec 2006 05:23:08 +0000 Subject: use '/bin/echo -e' to make certain we don't use an unusable /bin/sh builtin --- package/acpid/acpid.mk | 2 +- package/config/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/acpid/acpid.mk b/package/acpid/acpid.mk index bd0ed406d..31afba813 100644 --- a/package/acpid/acpid.mk +++ b/package/acpid/acpid.mk @@ -24,7 +24,7 @@ $(ACPID_DIR)/acpid: $(ACPID_DIR)/.unpacked $(TARGET_DIR)/usr/sbin/acpid: $(ACPID_DIR)/acpid cp -a $(ACPID_DIR)/acpid $(TARGET_DIR)/usr/sbin/acpid mkdir -p $(TARGET_DIR)/etc/acpi/events - echo -e "event=button[ /]power\naction=/sbin/poweroff" > $(TARGET_DIR)/etc/acpi/events/powerbtn + /bin/echo -e "event=button[ /]power\naction=/sbin/poweroff" > $(TARGET_DIR)/etc/acpi/events/powerbtn touch -c $(TARGET_DIR)/usr/sbin/acpid acpid: $(TARGET_DIR)/usr/sbin/acpid diff --git a/package/config/Makefile b/package/config/Makefile index e2ca6fdd8..430138f77 100644 --- a/package/config/Makefile +++ b/package/config/Makefile @@ -116,7 +116,7 @@ ncurses: $(RM) lxtemp.c a.out; \ else \ $(RM) lxtemp.c; \ - echo -e "\007" ;\ + /bin/echo -e "\007" ;\ echo ">> Unable to find the Ncurses libraries." ;\ echo ">>" ;\ echo ">> You must have Ncurses installed in order" ;\ -- cgit v1.2.3