Skip to content

Commit

Permalink
fix: add shallow clone for normal installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mryel00 committed Jan 6, 2024
1 parent db6e02e commit 03bde61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/libs/build_apps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ clone_cstreamer() {
rm -rf bin/camera-streamer
fi
sudo -u "${BASE_USER}" \
git clone "${CROWSNEST_CAMERA_STREAMER_REPO_SHIP}" --recursive \
git clone "${CROWSNEST_CAMERA_STREAMER_REPO_SHIP}" \
--recurse-submodules --shallow-submodules \
-b "${CROWSNEST_CAMERA_STREAMER_REPO_BRANCH}" \
--depth=1 --single-branch bin/camera-streamer
}
Expand Down

0 comments on commit 03bde61

Please sign in to comment.