diff options
| author | Simon Tatham <anakin@pobox.com> | 2007-01-16 12:54:24 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2007-01-16 12:54:24 +0000 |
| commit | d836b60dbedab16edb18024a26f8a25401592f4d (patch) | |
| tree | a89b6e6252047b5ff3b9b9e2a88252e0a105a9ba /Recipe | |
| parent | a7f19c87a9d926cdb8a090d96bda4a6f853bfe18 (diff) | |
| download | puzzles-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-- | Recipe | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; \ |