From b6ec9009f0804310aab6cd07b8d5b112649d22c9 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 18 Oct 2018 22:16:30 +0000 Subject: [PATCH] [check_all_upgrads] Enable testing of upgrades from unpackaged Closes #4204 git-svn-id: http://svn.osgeo.org/postgis/trunk@16924 b70326c6-7e19-0410-871a-916f4a2858ee --- utils/check_all_upgrades.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/utils/check_all_upgrades.sh b/utils/check_all_upgrades.sh index 00933cade..c3547b040 100755 --- a/utils/check_all_upgrades.sh +++ b/utils/check_all_upgrades.sh @@ -66,9 +66,11 @@ for EXT in ${INSTALLED_EXTENSIONS}; do for fname in unpackaged $files; do from_version="$fname" # only consider versions older than ${to_version} - cmp=`semver_compare "${from_version}" "${to_version}"` - if test $cmp -ge 0; then - continue + if test $fname != "unpackaged"; then # unpackaged is always older + cmp=`semver_compare "${from_version}" "${to_version}"` + if test $cmp -ge 0; then + continue + fi fi UPGRADE_PATH="${from_version}--${to_version}" if test -e ${EXT}--${UPGRADE_PATH}.sql; then -- 2.40.0