From: simon Date: Tue, 16 Jan 2007 12:54:24 +0000 (+0000) Subject: Marcin Wojdyr points out that the use of `>&' to redirect both X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/commitdiff_plain/c1f500c03860ebbb41d515932ea81f99ef45a06c Marcin Wojdyr points out that the use of `>&' to redirect both stdout and stderr is non-standard. Switch to a POSIX-blessed alternative. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@7116 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/Recipe b/Recipe index 42618eb..b2c6502 100644 --- a/Recipe +++ b/Recipe @@ -102,7 +102,7 @@ version.o: FORCE; FORCE: if test -z "$(VER)" && test -f manifest && md5sum -c manifest; then \ $(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) `cat version.def` -c version.c; \ - elif test -z "$(VER)" && test -d .svn && svnversion . >&/dev/null; then \ + elif test -z "$(VER)" && test -d .svn && svnversion . >/dev/null 2>&1; then \ $(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) "-DREVISION=`svnversion .`" -c version.c; \ else \ $(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) $(VER) -c version.c; \ @@ -117,7 +117,7 @@ version.o: FORCE; FORCE: if test -z "$(VER)" && test -f manifest && (md5 -r `awk '{print $$2}' manifest` | diff -w manifest -); then \ $(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) `cat version.def` -c version.c; \ - elif test -z "$(VER)" && test -d .svn && svnversion . >&/dev/null; then \ + elif test -z "$(VER)" && test -d .svn && svnversion . >/dev/null 2>&1; then \ $(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) "-DREVISION=`svnversion .`" -c version.c; \ else \ $(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) $(VER) -c version.c; \