aboutsummaryrefslogtreecommitdiff
path: root/Recipe
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2007-01-16 12:54:24 +0000
committerSimon Tatham <anakin@pobox.com>2007-01-16 12:54:24 +0000
commitd836b60dbedab16edb18024a26f8a25401592f4d (patch)
treea89b6e6252047b5ff3b9b9e2a88252e0a105a9ba /Recipe
parenta7f19c87a9d926cdb8a090d96bda4a6f853bfe18 (diff)
downloadpuzzles-d836b60dbedab16edb18024a26f8a25401592f4d.zip
puzzles-d836b60dbedab16edb18024a26f8a25401592f4d.tar.gz
puzzles-d836b60dbedab16edb18024a26f8a25401592f4d.tar.bz2
puzzles-d836b60dbedab16edb18024a26f8a25401592f4d.tar.xz
Marcin Wojdyr points out that the use of `>&' to redirect both
stdout and stderr is non-standard. Switch to a POSIX-blessed alternative. [originally from svn r7116]
Diffstat (limited to 'Recipe')
-rw-r--r--Recipe4
1 files changed, 2 insertions, 2 deletions
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; \