From 8923ebb27ab8212584a218c0888359c822a949c9 Mon Sep 17 00:00:00 2001 From: Neil Rashbrook Date: Sat, 11 Aug 2012 20:02:04 +0100 Subject: [PATCH] Port bug 756382 (bustage fix for --enable-xterm-updates builds) rs=Callek --- config/rules.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/rules.mk b/config/rules.mk index 4b2ba99829..6b1c9ab64d 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -389,8 +389,8 @@ XPIDL_GEN_DIR = _xpidlgen ifdef MOZ_UPDATE_XTERM # Its good not to have a newline at the end of the titlebar string because it # makes the make -s output easier to read. Echo -n does not work on all -# platforms, but we can trick sed into doing it. -UPDATE_TITLE = sed -e "s!Y!$(1) in $(shell $(BUILD_TOOLS)/print-depth-path.sh)/$(2)!" $(MOZILLA_DIR)/config/xterm.str; +# platforms, but we can trick printf into doing it. +UPDATE_TITLE = printf "\033]0;%s in %s\007" $(1) $(shell $(BUILD_TOOLS)/print-depth-path.sh)/$(2) ; endif define SUBMAKE # $(call SUBMAKE,target,directory)