Wrong wgt packaging directory
authorhyokeun <hyokeun.jeon@samsung.com>
Thu, 6 Sep 2018 07:05:52 +0000 (16:05 +0900)
committerhyokeun <hyokeun.jeon@samsung.com>
Thu, 6 Sep 2018 07:05:52 +0000 (16:05 +0900)
Change-Id: I369e137e71721a7825780f126440536f72f8f272

abs

diff --git a/abs b/abs
index d61b584..e3bf8e2 100755 (executable)
--- a/abs
+++ b/abs
@@ -488,9 +488,9 @@ class Sdk(object):
             elif x['web_app'] == True:
                 print '\n\n PACKAGE WEB\n'
                 out = '%s\n%s' % (out, \
-                      self._run('package', main_args_web + ['--', x['path']]))
+                      self._run('package', main_args_web + ['--', os.path.join(x['path'], '.buildResult')]))
                 try:
-                    final_app = list_files(x['path'], ext='wgt')[0]
+                    final_app = list_files(os.path.join(x['path'], '.buildResult'), ext='wgt')[0]
                 except:
                     raise LocalError('WGT file not generated for %s.' % x['APPNAME'])
                 x['out_package'] = final_app