{"thread":{"id":"32369","subject":"[PATCH v3 4/4] Makefile: replace \"echo 1>...\" with \"echo >...\"","startedAt":"2012-12-17T07:17:15Z","lastAt":"2012-12-17T07:17:15Z","messageCount":1,"participants":["Christian Couder"],"isPatch":true,"patchVersion":3,"patchTotal":4},"messages":[{"id":"205018","messageId":"20121217071716.26209.64549.chriscool@tuxfamily.org","threadId":"32369","inReplyTo":null,"subject":"[PATCH v3 4/4] Makefile: replace \"echo 1>...\" with \"echo >...\"","fromName":"Christian Couder","fromEmail":"chriscool@tuxfamily.org","sentAt":"2012-12-17T07:17:15Z","receivedAt":"2012-12-17T07:17:15Z","isPatch":true,"sender":{"key":"christian.couder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/208954?v=4"},"body":"This is clearer to many people this way.\n\nSigned-off-by: Christian Couder <chriscool@tuxfamily.org>\n---\n Makefile          | 10 +++++-----\n git-gui/Makefile  |  6 +++---\n gitk-git/Makefile |  2 +-\n 3 files changed, 9 insertions(+), 9 deletions(-)\n\ndiff --git a/Makefile b/Makefile\nindex 7db8445..e055c9a 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -2183,7 +2183,7 @@ endef\n GIT-SCRIPT-DEFINES: FORCE\n \t@FLAGS='$(SCRIPT_DEFINES)'; \\\n \t    if test x\"$$FLAGS\" != x\"`cat $@ 2>/dev/null`\" ; then \\\n-\t\techo 1>&2 \"    * new script parameters\"; \\\n+\t\techo >&2 \"    * new script parameters\"; \\\n \t\techo \"$$FLAGS\" >$@; \\\n             fi\n \n@@ -2564,7 +2564,7 @@ TRACK_PREFIX = $(bindir_SQ):$(gitexecdir_SQ):$(template_dir_SQ):$(prefix_SQ):\\\n GIT-PREFIX: FORCE\n \t@FLAGS='$(TRACK_PREFIX)'; \\\n \tif test x\"$$FLAGS\" != x\"`cat GIT-PREFIX 2>/dev/null`\" ; then \\\n-\t\techo 1>&2 \"    * new prefix flags\"; \\\n+\t\techo >&2 \"    * new prefix flags\"; \\\n \t\techo \"$$FLAGS\" >GIT-PREFIX; \\\n \tfi\n \n@@ -2573,7 +2573,7 @@ TRACK_CFLAGS = $(CC):$(subst ','\\'',$(ALL_CFLAGS)):$(USE_GETTEXT_SCHEME)\n GIT-CFLAGS: FORCE\n \t@FLAGS='$(TRACK_CFLAGS)'; \\\n \t    if test x\"$$FLAGS\" != x\"`cat GIT-CFLAGS 2>/dev/null`\" ; then \\\n-\t\techo 1>&2 \"    * new build flags\"; \\\n+\t\techo >&2 \"    * new build flags\"; \\\n \t\techo \"$$FLAGS\" >GIT-CFLAGS; \\\n             fi\n \n@@ -2582,7 +2582,7 @@ TRACK_LDFLAGS = $(subst ','\\'',$(ALL_LDFLAGS))\n GIT-LDFLAGS: FORCE\n \t@FLAGS='$(TRACK_LDFLAGS)'; \\\n \t    if test x\"$$FLAGS\" != x\"`cat GIT-LDFLAGS 2>/dev/null`\" ; then \\\n-\t\techo 1>&2 \"    * new link flags\"; \\\n+\t\techo >&2 \"    * new link flags\"; \\\n \t\techo \"$$FLAGS\" >GIT-LDFLAGS; \\\n             fi\n \n@@ -2631,7 +2631,7 @@ TRACK_PYTHON = $(subst ','\\'',-DPYTHON_PATH='$(PYTHON_PATH_SQ)')\n GIT-PYTHON-VARS: FORCE\n \t@VARS='$(TRACK_PYTHON)'; \\\n \t    if test x\"$$VARS\" != x\"`cat $@ 2>/dev/null`\" ; then \\\n-\t\techo 1>&2 \"    * new Python interpreter location\"; \\\n+\t\techo >&2 \"    * new Python interpreter location\"; \\\n \t\techo \"$$VARS\" >$@; \\\n             fi\n endif\ndiff --git a/git-gui/Makefile b/git-gui/Makefile\nindex e22ba5c..e9c2bc3 100644\n--- a/git-gui/Makefile\n+++ b/git-gui/Makefile\n@@ -254,7 +254,7 @@ lib/tclIndex: $(ALL_LIBFILES) GIT-GUI-VARS\n \t  auto_mkindex lib '*.tcl' \\\n \t| $(TCL_PATH) $(QUIET_2DEVNULL); then : ok; \\\n \telse \\\n-\t echo 1>&2 \"    * $(TCL_PATH) failed; using unoptimized loading\"; \\\n+\t echo >&2 \"    * $(TCL_PATH) failed; using unoptimized loading\"; \\\n \t rm -f $@ ; \\\n \t echo '# Autogenerated by git-gui Makefile' >$@ && \\\n \t echo >>$@ && \\\n@@ -274,8 +274,8 @@ TRACK_VARS = \\\n GIT-GUI-VARS: FORCE\n \t@VARS='$(TRACK_VARS)'; \\\n \tif test x\"$$VARS\" != x\"`cat $@ 2>/dev/null`\" ; then \\\n-\t\techo 1>&2 \"    * new locations or Tcl/Tk interpreter\"; \\\n-\t\techo 1>$@ \"$$VARS\"; \\\n+\t\techo >&2 \"    * new locations or Tcl/Tk interpreter\"; \\\n+\t\techo >$@ \"$$VARS\"; \\\n \tfi\n \n ifdef GITGUI_MACOSXAPP\ndiff --git a/gitk-git/Makefile b/gitk-git/Makefile\nindex 5acdc90..c2df22f 100644\n--- a/gitk-git/Makefile\n+++ b/gitk-git/Makefile\n@@ -23,7 +23,7 @@ TRACK_TCLTK = $(subst ','\\'',-DTCLTK_PATH='$(TCLTK_PATH_SQ)')\n GIT-TCLTK-VARS: FORCE\n \t@VARS='$(TRACK_TCLTK)'; \\\n \t\tif test x\"$$VARS\" != x\"`cat $@ 2>/dev/null`\" ; then \\\n-\t\t\techo 1>&2 \"    * new Tcl/Tk interpreter location\"; \\\n+\t\t\techo >&2 \"    * new Tcl/Tk interpreter location\"; \\\n \t\t\techo \"$$VARS\" >$@; \\\n \t\tfi\n \n-- \n1.8.1.rc1.2.g8740035\n"}]}