diff --git a/OsmAnd-java/collect_legacy_libs.sh b/OsmAnd-java/collect_legacy_libs.sh index 82c3ac99c9..a134219a89 100755 --- a/OsmAnd-java/collect_legacy_libs.sh +++ b/OsmAnd-java/collect_legacy_libs.sh @@ -14,7 +14,7 @@ fi function copyLibs { if [ -d "$CORE_LOC/binaries/$1/$2" ]; then echo "Copy binaries $1 $2"; - cp "$CORE_LOC"/binaries/$1/$2/Release/libosmand.so bin/osmand-$1-$3.lib + cp "$CORE_LOC"/binaries/$1/$2/Release/libosmand.so "$SCRIPT_LOC"/src/main/resources/osmand-$1-$3.lib fi }