]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Allow SVN trunk to be used in buildopal.sh script.
authorRobert Jongbloed <robertj@voxlucida.com.au>
Thu, 6 Sep 2012 04:25:24 +0000 (14:25 +1000)
committerRobert Jongbloed <robertj@voxlucida.com.au>
Wed, 19 Sep 2012 02:32:29 +0000 (12:32 +1000)
build/buildopal.sh

index a838d9c339260c588d6a527d028d4a4220e73643..6009f1048dffe2f5572f1f1d287f37fc4a03e708 100755 (executable)
@@ -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