diff --git a/script/install-galaxy.sh b/script/install-galaxy.sh index 395ef862..c0d04178 100755 --- a/script/install-galaxy.sh +++ b/script/install-galaxy.sh @@ -89,12 +89,10 @@ fi # ---------- 5. Build ---------- info "Building $BUNDLE_BIN (release)..." -cargo build --release --bin "$BUNDLE_BIN" --package "$BUNDLE_PKG" \ - --manifest-path "$CLONE_DIR/Cargo.toml" +pushd "$CLONE_DIR" > /dev/null +cargo build --release --bin "$BUNDLE_BIN" --package "$BUNDLE_PKG" info "Bundling $APP_NAME..." -# cargo-bundle does not support --manifest-path; run from repo root -pushd "$CLONE_DIR" > /dev/null cargo bundle --release --bin "$BUNDLE_BIN" --package "$BUNDLE_PKG" popd > /dev/null