From: Robert Jongbloed Date: Thu, 6 Sep 2012 04:25:24 +0000 (+1000) Subject: Allow SVN trunk to be used in buildopal.sh script. X-Git-Tag: v1.2.3^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ffa4eece455e2a4df93eff7e5899897019998ae;p=thirdparty%2Ffreeswitch.git Allow SVN trunk to be used in buildopal.sh script. --- 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