helpers/*: use '.' not 'source'

The 'source' command is a bashism, and not in the POSIX standard. So
it fails when using POSIX compliant shell such as Dash which is the
default on Debian. Using the '.' command is equivalent to using
source, and is POSIX compliant.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
This commit is contained in:
Nicolas Dechesne
2018-06-13 18:09:44 +02:00
committed by Bjorn Andersson
parent 8db9a55c02
commit 8ed17b019a
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/sh
source bootrr
. bootrr
TEST_CASE_ID="$1"
DRIVER="$2"

View File

@@ -1,6 +1,6 @@
#!/bin/sh
source bootrr
. bootrr
TEST_CASE_ID="$1"
DRIVER="$2"

View File

@@ -1,6 +1,6 @@
#!/bin/sh
source bootrr
. bootrr
TEST_CASE_ID="$1"
PARTITION=/dev/disk/by-partlabel/userdata