From d68336b79f7a1b1e75d7ca89fb8e0f98831a5ff1 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 11 Jan 2005 18:04:04 +0000 Subject: [PATCH] added optional versions specificatoin on command line git-svn-id: http://svn.osgeo.org/postgis/trunk@1279 b70326c6-7e19-0410-871a-916f4a2858ee --- make_dist.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/make_dist.sh b/make_dist.sh index 1b7a175d2..2a2b9e469 100644 --- a/make_dist.sh +++ b/make_dist.sh @@ -4,6 +4,12 @@ major=`grep ^SO_MAJOR_VERSION lwgeom/Makefile | cut -d= -f2` minor=`grep ^SO_MINOR_VERSION lwgeom/Makefile | cut -d= -f2` micro=`grep ^SO_MICRO_VERSION lwgeom/Makefile | cut -d= -f2` +if [ -n "$3" ]; then + major=$1 + minor=$2 + micro=$3 +fi + tag="pgis_"$major"_"$minor"_"$micro version="$major.$minor.$micro" package="postgis-$version.tgz" -- 2.40.0