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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]