From e2c7127f848b652824d989af54cad885270c727d 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 --HG-- branch : compatibility-develop --- 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