]> granicus.if.org Git - postgis/commitdiff
change to call with bash instead of sh, get rid of re-autogen would have been already...
authorRegina Obe <lr@pcorp.us>
Mon, 15 Jan 2018 23:23:17 +0000 (23:23 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 15 Jan 2018 23:23:17 +0000 (23:23 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16311 b70326c6-7e19-0410-871a-916f4a2858ee

ci/debbie/postgis_make_dist.sh
ci/debbie/postgis_release_docs.sh

index 94c76768641b9055f0d534b2f816251006ffca1b..0a3e8e849fd348e3805c375f52b766ccd0a90fc8 100644 (file)
@@ -32,4 +32,4 @@ export package=${newoutdir}.tar.gz
 echo "The package name is $package"
 
 cp $package $WEB_DIR
-sh ci/debbie/postgis_release_docs.sh
+bash ci/debbie/postgis_release_docs.sh
index a10c95818536af0d08970454470eeb7ec3f6ecf6..a76b896b59e4ea80f89fe059d07a125c55614b08 100644 (file)
@@ -22,7 +22,7 @@ POSTGIS_MICRO_VERSION=`grep ^POSTGIS_MICRO_VERSION Version.config | cut -d= -f2`
 chmod -R 755 /var/www/postgis_docs/manual-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}
 echo $PATH
 
-sh autogen.sh
+#sh autogen.sh
 
 if [ -f GNUMakefile ]; then
   make distclean
@@ -43,8 +43,9 @@ cd doc
 mv postgis.xml postgis.xml.orig
 #sed -e "s:</title>:</title><subtitle><subscript>SVN Revision (<emphasis>${POSTGIS_SVN_REVISION}</emphasis>)</subscript></subtitle>:" postgis.xml.orig > postgis.xml
 
+echo "Micro: $POSTGIS_MICRO_VERSION"
 #inject a development time stamp if we are in development branch
-if [[ $POSTGIS_MICRO_VERSION == *"dev"* ]]; then
+if [[ "$POSTGIS_MICRO_VERSION" == *"dev"* ]]; then
   export GIT_TIMESTAMP=`git log -1 --pretty=format:%ct`
   sed -e "s:</title>:</title><subtitle><subscript>DEV TIMESTAMP (<emphasis>${GIT_TIMESTAMP}</emphasis>)</subscript></subtitle>:" postgis.xml.orig > postgis.xml
 fi