From d1d648af1edeec7a869f142e717c7aa73b37bc98 Mon Sep 17 00:00:00 2001 From: Gregory Burd Date: Wed, 1 May 2013 22:00:43 -0400 Subject: [PATCH] Now matches against proper library name and prevents rebuilding when unnecessary. --- c_src/build_deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c_src/build_deps.sh b/c_src/build_deps.sh index 86e6354..680529d 100755 --- a/c_src/build_deps.sh +++ b/c_src/build_deps.sh @@ -140,7 +140,7 @@ case "$1" in # Build WiredTiger [ -d $BASEDIR/$WT_DIR ] || (echo "Missing WiredTiger source directory" && exit 1) test -f $BASEDIR/system/lib/libwiredtiger-[0-9].[0-9].[0-9].so \ - -a -f $BASEDIR/system/lib/libwiredtiger_snappy.so.[0-9].[0-9].[0-9] || build_wt; + -a -f $BASEDIR/system/lib/libwiredtiger_snappy.so || build_wt; [ -d $BASEDIR/../priv ] || mkdir ${BASEDIR}/../priv cp -p -P $BASEDIR/system/bin/wt ${BASEDIR}/../priv