summaryrefslogtreecommitdiff
path: root/www/galeon2/files/patch-configure
blob: c9c3f468ca9ebe5f5ab6e461750f0628e954aaad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- configure.orig	Mon Aug  9 23:57:15 2004
+++ configure	Mon Aug  9 23:57:15 2004
@@ -22744,11 +22744,11 @@
 echo "$as_me:$LINENO: result: $MOZILLA_VERSION$autodetect" >&5
 echo "${ECHO_T}$MOZILLA_VERSION$autodetect" >&6
 
-if test $MOZILLA_VERSION == "trunk"; then
+if test $MOZILLA_VERSION = "trunk"; then
 	MOZILLA_VERSION=99.0 # use a high number
 fi
 
-version=$(echo $MOZILLA_VERSION | sed -e 's/\([0-9]\+\|[a-z]\+\)/\1 /g' -e 's/\.//g')
+version=$(echo $MOZILLA_VERSION | sed -E -e 's/([0-9]+|[a-z]+)/\1 /g' -e 's/\.//g')
 
 set -- $version;