Commit 8f987f6 1 parent 48047b0 commit 8f987f6 Copy full SHA for 8f987f6
File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -82,18 +82,15 @@ function check_dep {
82
82
83
83
function check_apps {
84
84
local cstreamer ustreamer
85
- ustreamer_base=" bin/ustreamer"
86
- ustreamer=" $( find " ${BASE_CN_PATH} " /" ${ustreamer_base} " \
87
- -iname ' ustreamer.bin' 2> /dev/null | sed ' 1q' ) "
85
+ ustreamer=" bin/ustreamer/src/ustreamer.bin"
88
86
cstreamer=" bin/camera-streamer/camera-streamer"
89
-
90
- if [[ -x " ${ustreamer} " ]]; then
91
- log_msg " Dependency: '${ustreamer##*/ } ' found in ${ustreamer_base} /${ustreamer##*/ } ."
92
- UST_BIN=" ${ustreamer} "
87
+ if [[ -x " ${BASE_CN_PATH} /${ustreamer} " ]]; then
88
+ log_msg " Dependency: 'ustreamer' found in ${ustreamer} ."
89
+ UST_BIN=" ${BASE_CN_PATH} /${ustreamer} "
93
90
# shellcheck disable=SC2034
94
91
declare -r UST_BIN
95
92
else
96
- log_msg " Dependency: '$( dirname ustreamer_base ) ' not found. Exiting!"
93
+ log_msg " Dependency: 'ustreamer ' not found. Exiting!"
97
94
exit 1
98
95
fi
99
96
You can’t perform that action at this time.
0 commit comments