diff --git a/scripts/generate_tdapi_java_file.sh b/scripts/generate_tdapi_java_file.sh index c230293..0f3864d 100755 --- a/scripts/generate_tdapi_java_file.sh +++ b/scripts/generate_tdapi_java_file.sh @@ -61,10 +61,10 @@ cp -r ./src/main/jni-java-src ./generated/src/main/jni-java-src # Copy executables echo "Copying executables..." if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then - cp $(realpath -m ../td_tools/td/generate/Debug/td_generate_java_api.exe) $(realpath -m ../td_tools/td/generate/Debug/td_generate_java_api) - export TD_GENERATED_BINARIES_DIR=$(realpath -m ../td_tools/td/generate/Debug) + cp $(realpath -m ./generated/td_tools/td/generate/Debug/td_generate_java_api.exe) $(realpath -m ./generated/td_tools/td/generate/Debug/td_generate_java_api) + export TD_GENERATED_BINARIES_DIR=$(realpath -m ./generated/td_tools/td/generate/Debug) else - export TD_GENERATED_BINARIES_DIR=$(realpath -m ../td_tools/td/generate) + export TD_GENERATED_BINARIES_DIR=$(realpath -m ./generated/td_tools/td/generate) fi