diff --git a/distribution/lambda/Makefile b/distribution/lambda/Makefile index 195f7c5e599..701e9ba94b1 100644 --- a/distribution/lambda/Makefile +++ b/distribution/lambda/Makefile @@ -25,12 +25,13 @@ package: mkdir -p cdk.out if [ "$${QW_LAMBDA_BUILD:-0}" = "1" ] then + pushd ../../quickwit/ cargo lambda build \ - --manifest-path=../../quickwit/Cargo.toml \ -p quickwit-lambda \ --release \ --output-format zip \ - --target x86_64-unknown-linux-gnu + --target x86_64-unknown-linux-gnu + popd cp -u ../../quickwit/target/lambda/searcher/bootstrap.zip $(SEARCHER_PACKAGE_PATH) cp -u ../../quickwit/target/lambda/indexer/bootstrap.zip $(INDEXER_PACKAGE_PATH) else