Author: schultz Date: Wed Nov 15 14:45:32 2023 New Revision: 1913805 URL: http://svn.apache.org/viewvc?rev=1913805&view=rev Log: Explicitly use bash. Remove "function" to be more compatible with non-Bourne-again shells.
Modified: tomcat/site/trunk/tools/update-version.sh Modified: tomcat/site/trunk/tools/update-version.sh URL: http://svn.apache.org/viewvc/tomcat/site/trunk/tools/update-version.sh?rev=1913805&r1=1913804&r2=1913805&view=diff ============================================================================== --- tomcat/site/trunk/tools/update-version.sh (original) +++ tomcat/site/trunk/tools/update-version.sh Wed Nov 15 14:45:32 2023 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Assists updating the web site to include a new release. # @@ -12,7 +12,7 @@ NEW_RELEASE=$2 RELEASE_DATE=${3:-$(date -I)} RELEASE_MANAGER=${4:-${USER}} -function fail_migration_patch() { +fail_migration_patch() { FAILED_MIGRATION=1 echo "=====" --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org