use '/bin/echo -e' to make certain we don't use an unusable /bin/sh builtin

This commit is contained in:
Eric Andersen 2006-12-08 05:23:08 +00:00
parent 4ca65e7d21
commit dea2c12405
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ $(ACPID_DIR)/acpid: $(ACPID_DIR)/.unpacked
$(TARGET_DIR)/usr/sbin/acpid: $(ACPID_DIR)/acpid $(TARGET_DIR)/usr/sbin/acpid: $(ACPID_DIR)/acpid
cp -a $(ACPID_DIR)/acpid $(TARGET_DIR)/usr/sbin/acpid cp -a $(ACPID_DIR)/acpid $(TARGET_DIR)/usr/sbin/acpid
mkdir -p $(TARGET_DIR)/etc/acpi/events 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 touch -c $(TARGET_DIR)/usr/sbin/acpid
acpid: $(TARGET_DIR)/usr/sbin/acpid acpid: $(TARGET_DIR)/usr/sbin/acpid

View File

@ -116,7 +116,7 @@ ncurses:
$(RM) lxtemp.c a.out; \ $(RM) lxtemp.c a.out; \
else \ else \
$(RM) lxtemp.c; \ $(RM) lxtemp.c; \
echo -e "\007" ;\ /bin/echo -e "\007" ;\
echo ">> Unable to find the Ncurses libraries." ;\ echo ">> Unable to find the Ncurses libraries." ;\
echo ">>" ;\ echo ">>" ;\
echo ">> You must have Ncurses installed in order" ;\ echo ">> You must have Ncurses installed in order" ;\