From b4e4f87b9b4377d0f770bf06f2e64d8e9dfe4da0 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 20 Jan 2016 13:50:46 +0100 Subject: [PATCH] Changed: Use egrep because grep syntax different under OS X --- dist/debian/ryzomcore_version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/debian/ryzomcore_version.sh b/dist/debian/ryzomcore_version.sh index 721851f35..4f9f5beac 100755 --- a/dist/debian/ryzomcore_version.sh +++ b/dist/debian/ryzomcore_version.sh @@ -21,7 +21,7 @@ parse_version() FILE=$2 VAR=$3 - V=$(grep -o -P $PREFIX"_$VAR [0-9]+" $FILE | awk '{print $2}' | head -n 1) + V=$(egrep -o $PREFIX"_$VAR [0-9]+" $FILE | awk '{print $2}' | head -n 1) if [ -z "$V" ] then