[postgis-tickets] r16311 - change to call with bash instead of sh, get rid of re-autogen would have been already done.
Regina Obe
lr at pcorp.us
Mon Jan 15 03:23:17 PST 2018
Author: robe
Date: 2018-01-15 15:23:17 -0800 (Mon, 15 Jan 2018)
New Revision: 16311
Modified:
trunk/ci/debbie/postgis_make_dist.sh
trunk/ci/debbie/postgis_release_docs.sh
Log:
change to call with bash instead of sh, get rid of re-autogen would have been already done.
Modified: trunk/ci/debbie/postgis_make_dist.sh
===================================================================
--- trunk/ci/debbie/postgis_make_dist.sh 2018-01-15 22:53:35 UTC (rev 16310)
+++ trunk/ci/debbie/postgis_make_dist.sh 2018-01-15 23:23:17 UTC (rev 16311)
@@ -32,4 +32,4 @@
echo "The package name is $package"
cp $package $WEB_DIR
-sh ci/debbie/postgis_release_docs.sh
+bash ci/debbie/postgis_release_docs.sh
Modified: trunk/ci/debbie/postgis_release_docs.sh
===================================================================
--- trunk/ci/debbie/postgis_release_docs.sh 2018-01-15 22:53:35 UTC (rev 16310)
+++ trunk/ci/debbie/postgis_release_docs.sh 2018-01-15 23:23:17 UTC (rev 16311)
@@ -22,7 +22,7 @@
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 @@
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
More information about the postgis-tickets
mailing list