Update progress mode: use >&2 instead of /dev/stderr accepted/tizen/unified/20201222.122519 submit/tizen/20201222.073053
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 22 Dec 2020 07:26:53 +0000 (16:26 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 22 Dec 2020 07:32:04 +0000 (16:32 +0900)
It appears that some Linux distros (gbs-Tizen) does not give
permissions of /dev/stderr for build daemons.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
ssat-api.sh

index 5fb1ff5..f556198 100644 (file)
@@ -142,7 +142,7 @@ function testInit() {
 function testResult() {
        if [[ ${PROGRESSLOGLEVEL} -gt 1 ]]
        then
-               echo "Case ${2}(${3}) report ${1}" > /dev/stderr
+               echo "Case ${2}(${3}) report ${1}" >&2
        fi
 
        _cases=$((_cases+1))