mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-05 23:09:04 +00:00
Changed: Use egrep because grep syntax different under OS X
--HG-- branch : compatibility-develop
This commit is contained in:
parent
9059709265
commit
e2c7127f84
1 changed files with 1 additions and 1 deletions
2
dist/debian/ryzomcore_version.sh
vendored
2
dist/debian/ryzomcore_version.sh
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue