Fixes: shouldForceJHBuild isn't called
authorArnaud Renevier <a.renevier@samsung.com>
Wed, 4 Nov 2015 18:34:57 +0000 (10:34 -0800)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 07:55:23 +0000 (07:55 +0000)
commit0cc8ff53b5355299298efb3b5ca37b6895bffc41
tree19bbdd0193f0339b032440e1c9bf4daa0cb1ebdb
parent48d5a70e166d492d39ba26630648d6c60bddf744
Fixes: shouldForceJHBuild isn't called

shouldForceJHBuild is never called in build_desktop.sh
Also, bash function have an exit value, but do not return a value that
can be used as-is in test condition.

So as a fix, instead of checking for the return value, we delete the
stamp file inside the method if needed. The method is now named
forceJHBuildIfNeeded.

Reviewed by: a1.gomes

Change-Id: Ib9374e99990fc9dbef16d51158967273ed9ccd30
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
tizen_src/build/build_desktop.sh