tizen: Run gsbuild.sh using shebang (bash)
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Fri, 26 May 2017 11:39:41 +0000 (13:39 +0200)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Fri, 11 Aug 2017 23:39:01 +0000 (23:39 +0000)
That script use BASH advanced features ([[ tests ]])

.

Ported from master to 1.3-rel

Bug: https://jira.iotivity.org/browse/IOT-1745
Change-Id: I87bc5677c502c86ad7b4fdca630c6dee9c28e335
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20443
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: George Nash <george.nash@intel.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/21829

resource/csdk/connectivity/build/tizen/SConscript

index 93a90f8..0e9b7ed 100644 (file)
@@ -18,7 +18,7 @@ print "Given Transport is %s" % transport
 print "Given OS is %s" % target_os
 
 if target_os == 'tizen':
-    command = "sh resource/csdk/connectivity/build/tizen/gbsbuild.sh %s %s %s %s %s %s" % (
+    command = "./resource/csdk/connectivity/build/tizen/gbsbuild.sh %s %s %s %s %s %s" % (
         transport, secured, buildsample, release_mode, logging, with_tcp)
     print "Created Command is %s" % command
     gbs_script = env.Command('gbs_build', None, command)