From: Jim Meyering Date: Sat, 12 Jul 2003 18:25:51 +0000 (+0000) Subject: (localedir.h): Put the `2>&1' after the redirect target, not before the `>'. X-Git-Tag: v5.0.1~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12237951e6e41076b9d45391620e459a4d3e3751;p=thirdparty%2Fcoreutils.git (localedir.h): Put the `2>&1' after the redirect target, not before the `>'. --- diff --git a/src/Makefile.am b/src/Makefile.am index 8d6fb18f76..068bc8ca2b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -156,7 +156,7 @@ localedir.h: Makefile @rm -f $@-t echo '#define LOCALEDIR "$(localedir)"' >$@-t @chmod a-w $@-t - cmp $@-t $@ 2>&1 > /dev/null && rm -f $@-t || { rm -f $@; mv $@-t $@; } + cmp $@-t $@ > /dev/null 2>&1 && rm -f $@-t || { rm -f $@; mv $@-t $@; } BUILT_SOURCES += dircolors.h dircolors.h: dcgen dircolors.hin