CI: Fix CI_HELPER
Commit18d3c529fa
caused CI_HELPER to be set to "''" (two single quotes), leading to an error when test.sh tries to source $CI_HELPER. CI_HELPER is not set anywhere else and not passed into the container environment, so there is no need to test if it has a value. This fixes the value of CI_HELPER. Fixes:18d3c529fa
("github-ci: error on any shell errors") Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
parent
e0d7181a6d
commit
562f5df67f
|
@ -13,7 +13,7 @@ mkdir -p /var/lock/
|
|||
|
||||
opkg update
|
||||
|
||||
[ -n "${CI_HELPER:=''}" ] || CI_HELPER="/ci/.github/workflows/ci_helpers.sh"
|
||||
export CI_HELPER="/ci/.github/workflows/ci_helpers.sh"
|
||||
|
||||
for PKG in /ci/*.ipk; do
|
||||
tar -xzOf "$PKG" ./control.tar.gz | tar xzf - ./control
|
||||
|
@ -42,7 +42,7 @@ for PKG in /ci/*.ipk; do
|
|||
continue
|
||||
fi
|
||||
|
||||
export PKG_NAME PKG_VERSION CI_HELPER
|
||||
export PKG_NAME PKG_VERSION
|
||||
|
||||
if [ -f "$PRE_TEST_SCRIPT" ]; then
|
||||
echo "Use package specific pre-test.sh"
|
||||
|
|
Loading…
Reference in New Issue