This is an automated email from the ASF dual-hosted git repository. mgrigorov pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat-jakartaee-migration.git
The following commit(s) were added to refs/heads/master by this push: new e8e3318 Re-work how the bin folder path is calculated e8e3318 is described below commit e8e3318bac8851ee757af58011f21b3b7d28c97d Author: Martin Tzvetanov Grigorov <mgrigo...@apache.org> AuthorDate: Fri Dec 11 13:36:03 2020 +0200 Re-work how the bin folder path is calculated Suggested-by: Rainer Jung --- src/main/scripts/migrate.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/scripts/migrate.sh b/src/main/scripts/migrate.sh index 3d3f34c..cf43ced 100755 --- a/src/main/scripts/migrate.sh +++ b/src/main/scripts/migrate.sh @@ -1,6 +1,9 @@ #!/bin/sh -BIN_FOLDER=`dirname $PWD/$0` +mydir="$PWD" +cd `dirname "$0"` +BIN_FOLDER="$PWD" +cd "$mydir" # Assumes java is on the path java -cp "$BIN_FOLDER/../lib/*" org.apache.tomcat.jakartaee.MigrationCLI "$@" --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org