Set endorsed property based on location of batch file.
[java-idp.git] / src / tools / bat / aacli.bat
index f9a778a..ca8c830 100755 (executable)
@@ -46,4 +46,4 @@ if exist %JAVA_HOME%\lib\classes.zip (
 \r
 REM Go to it !\r
 \r
-%JAVACMD% -cp "%LOCALCLASSPATH%" -Djava.endorsed.dirs="%LIBDIR%/endorsed" edu.internet2.middleware.shibboleth.common.attribute.AttributeAuthorityCLI %*
\ No newline at end of file
+%JAVACMD% -cp "%LOCALCLASSPATH%" -Djava.endorsed.dirs="%~dp0/../lib/endorsed" edu.internet2.middleware.shibboleth.common.attribute.AttributeAuthorityCLI %*
\ No newline at end of file