You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mg...@apache.org on 2020/12/14 13:18:33 UTC
[tomcat-jakartaee-migration] branch master updated: Simplify
migrate.sh
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 fed139d Simplify migrate.sh
fed139d is described below
commit fed139dd3f7351b50a7196107cbdb48585232747
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Mon Dec 14 15:17:35 2020 +0200
Simplify migrate.sh
Suggested-by: Christopher Schultz
---
src/main/scripts/migrate.sh | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/main/scripts/migrate.sh b/src/main/scripts/migrate.sh
index cf43ced..31deef9 100755
--- a/src/main/scripts/migrate.sh
+++ b/src/main/scripts/migrate.sh
@@ -1,9 +1,6 @@
#!/bin/sh
-mydir="$PWD"
-cd `dirname "$0"`
-BIN_FOLDER="$PWD"
-cd "$mydir"
+BIN_FOLDER=`dirname "$0"`
# Assumes java is on the path
java -cp "$BIN_FOLDER/../lib/*" org.apache.tomcat.jakartaee.MigrationCLI "$@"
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org