Browse Source

fix for solaris

pull/4720/head
neil 1 year ago
parent
commit
6db8ae451a
  1. 6
      acme.sh

6
acme.sh

@ -924,10 +924,10 @@ _sed_i() {
}
_egrep_o() {
if _exists egrep; then
egrep -o "$1" 2>/dev/null
else
if _is_solaris; then
sed -n 's/.*\('"$1"'\).*/\1/p'
else
egrep -o "$1"
fi
}

Loading…
Cancel
Save