tests/utils/utils.sh: use a function to source `env.sh`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 10 Nov 2023 04:03:26 +0000 (23:03 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 7 Feb 2024 21:25:56 +0000 (16:25 -0500)
commit4a1628932a4f566033bd1e06add80f0b79482c46
tree7cdcfec19343863b4f08e0c1c27dd7bba62862ec
parente612f2daa6b262796ca0750754142f0abd686f1d
tests/utils/utils.sh: use a function to source `env.sh`

By using a function to do this, we can use a local variable to hold the
`env.sh` path and therefore remove redundancy.

Disabling SC1090 because it's a non-constant source now, but it's
useless to add `source=` here because SC1091 is already disabled.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ie449fd8f0cd04074b87b967d8b0ec719094f378c
tests/utils/utils.sh
This page took 0.024726 seconds and 4 git commands to generate.