Added regex to remove -rc suffix
This commit is contained in:
parent
b1feead289
commit
c6c1dcabd0
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ DEBUG=0
|
|||
[ -f "$0.local" ] && source "$0.local" && [ $DEBUG -eq 1 ] && echo "Import local config file : $0.local"
|
||||
|
||||
current=`egrep "define.*RCMAIL_VERSION" $RC_HOME/program/include/iniset.php|sed "s/define('.*', '\([^']*\)'.*$/\1/"`
|
||||
current="`echo $current|sed 's/-rc$//'`"
|
||||
[ $DEBUG -eq 1 ] && echo "Current : $current"
|
||||
|
||||
for i in `seq 1 $MAX_CHECK`
|
||||
|
|
Loading…
Reference in a new issue