From 2967f4434a86d3e2fc5dec7f644630ee2c539d05 Mon Sep 17 00:00:00 2001 From: "Stan. S. Krupoderov" Date: Sat, 25 Jul 2009 18:03:09 +0400 Subject: [PATCH] Remove GNU specific option from version.sh --- maint/version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maint/version.sh b/maint/version.sh index 82c20753f..a07c72ac0 100755 --- a/maint/version.sh +++ b/maint/version.sh @@ -14,7 +14,7 @@ CURR_MC_VERSION="${PREV_MC_VERSION}" if [ -r ${VERSION_FILE} ] then - PREV_MC_VERSION=`sed -rn 's/^#define MC_CURRENT_VERSION "(.*)"$/\1/p' "${VERSION_FILE}"` + PREV_MC_VERSION=`sed -n 's/^#define MC_CURRENT_VERSION "\(.*\)"$/\1/p' "${VERSION_FILE}"` CURR_MC_VERSION="${PREV_MC_VERSION}" fi