KEYCLOAK-3740 kcreg.sh doesn't support symlinking
- fix buggy patch
This commit is contained in:
parent
9c7e9da9fa
commit
db0024d857
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
RESOLVED_NAME="$0"
|
|
||||||
case "`uname`" in
|
case "`uname`" in
|
||||||
CYGWIN*)
|
CYGWIN*)
|
||||||
CFILE = `cygpath "$0"`
|
CFILE = `cygpath "$0"`
|
||||||
|
@ -16,6 +15,9 @@ case "`uname`" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
DIRNAME=`dirname "$RESOLVED_NAME"`
|
if [ "x$RESOLVED_NAME" = "x" ]; then
|
||||||
|
RESOLVED_NAME="$0"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DIRNAME=`dirname "$RESOLVED_NAME"`
|
||||||
java $KC_OPTS -cp $DIRNAME/client/keycloak-client-registration-cli-${project.version}.jar org.keycloak.client.registration.cli.KcRegMain "$@"
|
java $KC_OPTS -cp $DIRNAME/client/keycloak-client-registration-cli-${project.version}.jar org.keycloak.client.registration.cli.KcRegMain "$@"
|
Loading…
Reference in a new issue