From: JF Ding Date: Tue, 29 Nov 2011 01:34:06 +0000 (+0800) Subject: remove arg0 before transfer argv to sh script X-Git-Tag: v0.1~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9bc12f7691a0d683347a2d786fddc54cf6028a13;p=tools%2Fgbs.git remove arg0 before transfer argv to sh script --- diff --git a/tools/tizenpkg b/tools/tizenpkg index 16e064e..9cc1d8b 100755 --- a/tools/tizenpkg +++ b/tools/tizenpkg @@ -32,7 +32,7 @@ def _fall_to_shell(cmdname): def _run_embed_sh(self, argv): # this command is a shell script wrapper shpath = os.path.join(utils.get_share_dir(), cmdname + '.sh') - runner.embed(['sh', shpath] + list(argv)) + runner.embed(['sh', shpath] + list(argv)[1:]) return _run_embed_sh cmdmod = 'tizenpkg.cmd_' + cmdname