mirror of
https://github.com/andreili/camera-streamer.git
synced 2025-08-23 11:24:07 +02:00
tools: fix usb_camera.sh not accepting parameters
This commit is contained in:
parent
9cb0a474e4
commit
82dea910bc
@ -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 \
|
||||||
"$@"
|
"$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user