Skip to content
Browse files

corrected dollar escapes

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@668126 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 0e7a43f commit edfc78c16338383bd524fee516eb1d4a210a937a @nslater nslater committed Jun 16, 2008
Showing with 3 additions and 3 deletions.
  1. +3 −3 configure.ac
View
6 configure.ac
@@ -106,13 +106,13 @@ fi
erlang_version_error="The installed Erlang version is less than 5.5.0 (R11B)."
-version=`${ERL} -version 2>&1 | ${SED} "s/[[^0-9]]/ /g"`
+version="`${ERL} -version 2>&1 | ${SED} "s/[[^0-9]]/ /g"`"
-if test `echo $version | ${AWK} "{print \$1}"` -lt 5; then
+if test `echo $version | ${AWK} "{print \\$1}"` -lt 5; then
AC_MSG_ERROR([$erlang_version_error])
fi
-if test `echo $version | ${AWK} "{print \$2}"` -lt 5; then
+if test `echo $version | ${AWK} "{print \\$2}"` -lt 5; then
AC_MSG_ERROR([$erlang_version_error])
fi

0 comments on commit edfc78c

Please sign in to comment.
Something went wrong with that request. Please try again.