From cfa7bd68b61359a1dba018c4190298a1c5c9a215 Mon Sep 17 00:00:00 2001
From: lukken <lukken@astron.nl>
Date: Wed, 13 Oct 2021 15:48:26 +0000
Subject: [PATCH] L2SS-287: Make shellcheck happy

---
 .gitlab-ci.yml  | 1 -
 bin/start-ds.sh | 5 +++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3d6766ccf..6e0b5f61e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -47,7 +47,6 @@ unit_test:
   before_script:
     - sudo apt-get update
     - sudo apt-get install -y git
-    - pip3 install -r tangostationcontrol/test-requirements.txt
     - pip3 install -r docker-compose/itango/lofar-requirements.txt
   script:
     - cd tangostationcontrol
diff --git a/bin/start-ds.sh b/bin/start-ds.sh
index 413eb7c51..add6bcc71 100755
--- a/bin/start-ds.sh
+++ b/bin/start-ds.sh
@@ -23,7 +23,8 @@ else
   # Install the package, exit 1 if it fails
   cd tangostationcontrol || exit 1
   python3 setup.py bdist_wheel || exit 1
-  sudo pip install dist/$(ls -Art dist/ | tail -n 1)
+  # shellcheck disable=SC2012
+  sudo pip install dist/"$(ls -Art dist/ | tail -n 1)"
 fi
 
-/usr/local/bin/wait-for-it.sh ${TANGO_HOST} --timeout=30 --strict -- $@
+/usr/local/bin/wait-for-it.sh "$TANGO_HOST" --timeout=30 --strict -- "$@"
-- 
GitLab