From: hyokeun Date: Wed, 12 Sep 2018 03:23:56 +0000 (+0900) Subject: Wrap output with double quotes X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e8233beef209ec64f6c8358bd4c46534fee6bac5;p=scm%2Fmeta%2Fabs.git Wrap output with double quotes Change-Id: Iddbccd17d25e837af5a9b4d8d745b88e092b5128 --- diff --git a/abs b/abs index e3bf8e2..52f7a26 100755 --- a/abs +++ b/abs @@ -500,11 +500,11 @@ class Sdk(object): print 'THIS IS MULTI PROJECT' for i, x in enumerate(source.project_list): if x['out_package'] != final_app and x.get('type') == 'app': - extra_args.extend(['-r', x['out_package']]) + extra_args.extend(['-r', '"%s"' % x['out_package']]) elif x.get('type') == 'sharedLib': - extra_args.extend(['-r', x['out_package']]) + extra_args.extend(['-r', '"%s"' % x['out_package']]) - extra_args.extend(['--', final_app]) + extra_args.extend(['--', '"%s"' % final_app]) if final_app.endswith('.tpk'): out = self._run('package', main_args + extra_args) elif final_app.endswith('.wgt'): @@ -513,7 +513,7 @@ class Sdk(object): #TODO: signature validation check failed : Invalid file reference. An unsigned file was found. if final_app.endswith('.tpk'): print 'Packaging final step again!' - out = self._run('package', main_args + ['--', final_app]) + out = self._run('package', main_args + ['--', '"%s"' % final_app]) #Append arch to web binary if final_app.endswith('.wgt'):