tools: fix usb_camera.sh not accepting parameters
This commit is contained in:
@ -8,6 +8,6 @@ CAMERA_PATH=( $(echo /dev/v4l/by-id/usb-*-video-index0) )
|
|||||||
set -xeo pipefail
|
set -xeo pipefail
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
$GDB ./camera-streamer \
|
$GDB ./camera-streamer \
|
||||||
-camera-path="${CAMERA_PATH[${CAMERA_INDEX:-0}]}"
|
-camera-path="${CAMERA_PATH[${CAMERA_INDEX:-0}]}" \
|
||||||
--http-listen=0.0.0.0 \
|
--http-listen=0.0.0.0 \
|
||||||
"$@"
|
"$@"
|
||||||
|
Reference in New Issue
Block a user