Skip to content

Commit 69bc78f

Browse files
okapiasimo5
authored andcommitted
Avoid bashism in configure script
&> is non-standard for redirecting stdin and stderr. It is a short-hand copied from csh's >& by zsh and later bash. It is equivalent to >word 2>&1 which will also work in dash (/bin/sh on Debian) or other plain Bourne/POSIX shells. Signed-off-by: Oliver Kiddle <[email protected]>
1 parent 9d52019 commit 69bc78f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ AC_SUBST([PRERELEASE_VERSION],
2929
AC_DEFINE([PRERELEASE_VERSION], "PRERELEASE_VERSION_NUMBER",
3030
[Prerelease version number of package])
3131

32-
AM_CONDITIONAL([GIT_CHECKOUT], [git log -1 &>/dev/null])
32+
AM_CONDITIONAL([GIT_CHECKOUT], [git log -1 >/dev/null 2>&1])
3333

3434
m4_pattern_allow([AM_SILENT_RULES])
3535
AM_SILENT_RULES

0 commit comments

Comments
 (0)