make it possible to run create_wrap.sh not only from its directory
This commit is contained in:
parent
4a15939c13
commit
d867579a69
@ -1,4 +1,10 @@
|
||||
#!/bin/env sh
|
||||
|
||||
echo "build java wrapper"
|
||||
|
||||
# cd to script's directory
|
||||
pushd `dirname $0` > /dev/null
|
||||
|
||||
cd ..
|
||||
make java
|
||||
cd java
|
||||
@ -12,4 +18,5 @@ fi
|
||||
rm -f xgboost4j/src/main/resources/lib/libxgboostjavawrapper.so
|
||||
mv libxgboostjavawrapper.so xgboost4j/src/main/resources/lib/
|
||||
|
||||
popd > /dev/null
|
||||
echo "complete"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user