From 7ffa4eece455e2a4df93eff7e5899897019998ae Mon Sep 17 00:00:00 2001 From: Robert Jongbloed Date: Thu, 6 Sep 2012 14:25:24 +1000 Subject: [PATCH] Allow SVN trunk to be used in buildopal.sh script. --- build/buildopal.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/build/buildopal.sh b/build/buildopal.sh index a838d9c339..6009f1048d 100755 --- a/build/buildopal.sh +++ b/build/buildopal.sh @@ -22,14 +22,17 @@ export PKG_CONFIG_PATH=$INSTALLDIR/lib/pkgconfig # Version and patch for PTLib and OPAL. These are almost always in lock -# step so shoud be the same unless you really know ehat you are doing! +# step so should be the same unless you really know what you are doing! # The PATCH should be set to a specific"snapshot release" when things -# are nice and stable. +# are nice and stable. But right now comment them out for using trunk. -VERSION=10 -#PATCH=6 +#VERSION=10 +#PATCH=7 -if [ -z "$PATCH" ]; then +if [ -z "$VERSION" ]; then + PTLIB_VERSION=trunk + OPAL_VERSION=trunk +elif [ -z "$PATCH" ]; then PTLIB_VERSION=branches/v2_$VERSION OPAL_VERSION=branches/v3_$VERSION else