[mapguide-commits] r9730 - trunk/MgDev
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Tue Sep 15 07:34:57 PDT 2020
Author: jng
Date: 2020-09-15 07:34:57 -0700 (Tue, 15 Sep 2020)
New Revision: 9730
Modified:
trunk/MgDev/cmake_package.sh
Log:
#2821: Allow passing build number to packaging script
Modified: trunk/MgDev/cmake_package.sh
===================================================================
--- trunk/MgDev/cmake_package.sh 2020-09-14 15:33:38 UTC (rev 9729)
+++ trunk/MgDev/cmake_package.sh 2020-09-15 14:34:57 UTC (rev 9730)
@@ -5,7 +5,7 @@
MG_TARBALL=
FDO_VER=4.2.0
MG_VER=4.0.0
-MG_BUILD=8000
+MG_BUILD=0
MG_ARCH=amd64
LIBDIR=lib64
PKG_OUTPUT_DIR=
@@ -14,6 +14,10 @@
while [ $# -gt 0 ]; do # Until you run out of parameters...
case "$1" in
+ --build-number)
+ MG_BUILD=$2
+ shift
+ ;;
--format)
PKG_FORMAT=$2
shift
@@ -37,6 +41,7 @@
echo " --tarball [Path to MapGuide tarball]"
echo " --working-dir [Path to working directory]"
echo " --output-dir [Path to output directory]"
+ echo " --build-number [Build number]"
echo " --help [Display usage]"
exit
;;
@@ -67,6 +72,7 @@
echo "MapGuide tarball: $MG_TARBALL"
echo "Package working dir: $WORKING_DIR"
echo "Package output dir: $PKG_OUTPUT_DIR"
+echo "Build number: $MG_BUILD"
if [ ! -d "$WORKING_DIR" ]; then
echo "Creating working dir"
More information about the mapguide-commits
mailing list