Commit 93206a8e authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#4643 get fractal tree tests running on centos 6 (build.check.bash port) refs[t:4643]

git-svn-id: file:///svn/toku/tokudb@41160 c7de825b-a66e-492c-adef-691d508d4ae1
parent fc1862bc
......@@ -47,7 +47,7 @@ function get_latest_svn_revision() {
local revision=0
local svntarget=$svnserver/$*
local latest=$(retry svn info $svntarget)
if [[ $latest =~ "Last Changed Rev: ([0-9]+)" ]] ; then
if [[ $latest =~ Last\ Changed\ Rev:\ ([0-9]+) ]] ; then
revision=${BASH_REMATCH[1]}
fi
echo $revision
......@@ -75,7 +75,7 @@ function runcmd() {
$cmd
exitcode=$?
local dir=$makedir
if [[ $dir =~ "$HOME/svn.build/(.*)" ]] ; then
if [[ $dir =~ $HOME/svn.build/(.*) ]] ; then
dir=${BASH_REMATCH[1]}
fi
result="$(mydate) $dir $cmd"
......@@ -108,7 +108,7 @@ function build() {
# setup build environment
export BDBVERSION=$1
if [[ $BDBVERSION =~ "(.*)\.(.*)" ]] ;then
if [[ $BDBVERSION =~ ([0-9]+)\.([0-9]+) ]] ;then
export BDBMAJOR=${BASH_REMATCH[1]}
export BDBMINOR=${BASH_REMATCH[2]}
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment