(localedir.h): Put the `2>&1' after the redirect target, not before the `>'.
authorJim Meyering <jim@meyering.net>
Sat, 12 Jul 2003 18:25:51 +0000 (18:25 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 12 Jul 2003 18:25:51 +0000 (18:25 +0000)
src/Makefile.am

index 8d6fb18f76c962389dc42f47a85e457d2ecc2f56..068bc8ca2b88e11c976b2855f95e10deb4df5ea8 100644 (file)
@@ -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