diff --git a/bin/comment_with_dependency_diff b/bin/comment_with_dependency_diff index 83104e9e..fe5b5b32 100755 --- a/bin/comment_with_dependency_diff +++ b/bin/comment_with_dependency_diff @@ -106,7 +106,8 @@ if [[ $sha != "$DEPENDENCY_TREE_CHECKSUM" ]]; then fi chmod +x dependency-tree-diff.jar -JAR_DIR="$PLUGIN_ROOT/jar" +REPO_ROOT=$( dirname "$( dirname "${BASH_SOURCE[0]}" )" ) +JAR_DIR="$REPO_ROOT/jar" echo "--> Running dependency-tree-diff.jar" diff --git a/hooks/environment b/hooks/environment index bbe5f210..492771ab 100644 --- a/hooks/environment +++ b/hooks/environment @@ -12,6 +12,5 @@ PLUGIN_ROOT=$( dirname "$HOOKS_ROOT" ) PLUGIN_BIN="$PLUGIN_ROOT/bin" export PATH="$PATH:$PLUGIN_BIN" -export PLUGIN_ROOT=$PLUGIN_ROOT echo "~~~ :file_cabinet: Loaded Caching Plugin" \ No newline at end of file