diff options
Diffstat (limited to 'tools/make_jar.sh')
-rwxr-xr-x | tools/make_jar.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/make_jar.sh b/tools/make_jar.sh index bcba2fb..1bc2618 100755 --- a/tools/make_jar.sh +++ b/tools/make_jar.sh @@ -6,8 +6,8 @@ if [ -z "$1" ]; then echo "ERROR: Please specify a build target: linux32 or linux64" else - cd ../out/$1 - jar -cf jcef.jar org/cef/*.class org/cef/browser/*.class org/cef/callback/*.class org/cef/handler/*.class org/cef/misc/*.class org/cef/network/*.class - jar -cf jcef-tests.jar tests/detailed/*.class tests/detailed/dialog/*.class tests/detailed/handler/* tests/detailed/ui/*.class - cd ../../tools + DIR="$( cd "$( dirname "$0" )" && cd .. && pwd )" + OUT_DIR="${DIR}/out/$1" + jar -cf "${OUT_DIR}"/jcef.jar -C "${OUT_DIR}" org + jar -cf "${OUT_DIR}"/jcef-tests.jar -C "${OUT_DIR}" tests fi |