Skip to content

Commit

Permalink
fix: fix shellcheck (this time for real)
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Gehrsitz <[email protected]>
  • Loading branch information
mryel00 committed Feb 28, 2024
1 parent ba654d0 commit b49cef8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions libs/ustreamer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ run_mjpg() {
run_ustreamer() {
local cam_sec ust_bin dev pt res fps cstm start_param
cam_sec="${1}"
# shellcheck disable=SC2153
ust_bin="${UST_BIN}"
dev="$(get_param "cam ${cam_sec}" device)"
pt="$(get_param "cam ${cam_sec}" port)"
Expand Down
1 change: 0 additions & 1 deletion libs/versioncontrol.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ versioncontrol() {
local cur_ver avail_ver
pushd "${BASE_CN_PATH}"/bin/ustreamer &> /dev/null || exit 1
avail_ver="$(git describe --tags --always)"
# shellcheck disable=SC2153
cur_ver="v$(${UST_BIN} -v)"
if [[ "${cur_ver}" == "${avail_ver}" ]]; then
vc_log_msg "ustreamer is up to date. (${cur_ver})"
Expand Down

0 comments on commit b49cef8

Please sign in to comment.