X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=aclocal.m4;h=f98d5f3f085d99c6f484e64fb2f7183462409155;hb=39a924f10cb4fed95d8fc0caf209876a693ab1f9;hp=bb717ad22351dcd9e892f0064a3adbd6da3fde5d;hpb=ce1430c02122c47ddb564017dd8a15286b2afd94;p=ghc-hetmet.git diff --git a/aclocal.m4 b/aclocal.m4 index bb717ad..f98d5f3 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1017,7 +1017,7 @@ if test "$RELEASE" = "NO"; then elif test -d _darcs; then # TODO: Remove this branch after conversion to Git changequote(, )dnl - ver_date=`darcs changes --quiet --no-summary --xml | head -500 | grep 'date=' | sed "s/^.*date='\([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]\).*$/\1/g" | sort -n | tail -1` + ver_date=`darcs changes --quiet --no-summary --xml | head -500 | grep 'date=' | sed "s/^.*date='\([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]\).*$/\1/g" | ${SortCmd} -n | tail -1` if echo $ver_date | grep '^[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]$' 2>&1 >/dev/null; then true; else changequote([, ])dnl AC_MSG_ERROR([failed to detect version date: check that darcs is in your path])