diff options
Diffstat (limited to 'tsp/scripts/common_prep_flash_conf.sh')
-rwxr-xr-x | tsp/scripts/common_prep_flash_conf.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tsp/scripts/common_prep_flash_conf.sh b/tsp/scripts/common_prep_flash_conf.sh index 880922d..195e6bf 100755 --- a/tsp/scripts/common_prep_flash_conf.sh +++ b/tsp/scripts/common_prep_flash_conf.sh @@ -24,11 +24,12 @@ FAILED_DEVICE_LOG="/var/tmp/failed_devices.log" TESTLAB_MAJOR="/opt/testlab-major" cd "${WORKDIR_REMOTE}" || exit -ACTUAL_TARGET="${TARGET#headless-}" +ACTUAL_TARGET="${TARGET#*-}" case "$TARGET" in *odroid*) BOOT_IMG="$(pwd)/$(ls tizen-*-boot-*odroid*.tar.gz)" USR_IMG="$(pwd)/$(ls tizen-*-wayland-*odroid*.tar.gz)" + test -f "$USR_IMG" || USR_IMG="$(pwd)/$(ls tizen-*-target-*odroid*.tar.gz)" ;; *artik*) BOOT_IMG="$(pwd)/$(ls tizen-*-boot-*artik*.tar.gz)" |