Skip to content

Commit eb033c4

Browse files
committed
Fix make_basler --ci flag
1 parent 1c567e1 commit eb033c4

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

scripts/deploy/tasks/install.py

-2
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ def _install_commands_on_single_host(connection: Connection, result: Result) ->
175175
# Define command prefixes to search for
176176
apt_command_prefix = "sudo -H apt-get install -y "
177177
apt_packages: list[str] = []
178-
# pip_command_prefix = "" # TODO what is it?
179-
# pip_packages: list[str] = []
180178

181179
install_result: Optional[
182180
Result

scripts/make_basler.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ fi
3232
# Create function to check if we have an internet connection
3333
function check_internet_connection () {
3434
# Check if we have an internet connection, except in the ci as azure does not support ping by design
35-
if [[ $1 != "-ci" ]] && ! ping -q -c 1 -W 1 google.com >/dev/null; then
35+
if [[ $1 != "--ci" ]] && ! ping -q -c 1 -W 1 google.com >/dev/null; then
3636
echo "No internet connection. Please check your internet connection to install the basler drivers."
3737
exit 1
3838
fi

0 commit comments

Comments
 (0)