]> granicus.if.org Git - postgis/commitdiff
Do not try to test upgrade from-to the same version
authorSandro Santilli <strk@kbt.io>
Thu, 11 Jan 2018 16:43:53 +0000 (16:43 +0000)
committerSandro Santilli <strk@kbt.io>
Thu, 11 Jan 2018 16:43:53 +0000 (16:43 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16258 b70326c6-7e19-0410-871a-916f4a2858ee

utils/check_all_upgrades.sh

index 42d5a463bebed2f075922d65de7a37e2e57e09f4..b69b477c11d18b5d1a9209b2ea88d604554cff7a 100755 (executable)
@@ -14,6 +14,10 @@ failures=0
 files=`'ls' postgis--* | grep -v -- '--.*--' | sed 's/^postgis--\(.*\)\.sql/\1/'`
 for fname in unpackaged $files; do
   from_version="$fname"
+  if test "${from_version}" = "${to_version}"; then
+    # TODO: upgrade to ${from_version}next instead ?
+    continue
+  fi
   UPGRADE_PATH="${from_version}--${to_version}"
   if test -e postgis--${UPGRADE_PATH}.sql; then
     echo "Testing upgrade $UPGRADE_PATH"