diff options
author | James Meyer <james.meyer@operamail.com> | 2012-09-05 18:31:05 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-09-05 18:31:05 (GMT) |
commit | 6460f7b4846030b1ace3264c2e18a0ad08b99944 (patch) | |
tree | ec6a4027264ddbf43b979773df2b3a08b403db6b /build_tools/bin | |
parent | d1ca6cf2c742c7051c1684ae170ac2885772312a (diff) | |
parent | 9830369967fa3d26aaae49c5f92e120f0883ab4e (diff) | |
download | linhes_dev-6460f7b4846030b1ace3264c2e18a0ad08b99944.zip |
Merge remote-tracking branch 'origin/testing' into testing
Diffstat (limited to 'build_tools/bin')
-rwxr-xr-x | build_tools/bin/mp.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/build_tools/bin/mp.py b/build_tools/bin/mp.py index dfdec94..8062f5c 100755 --- a/build_tools/bin/mp.py +++ b/build_tools/bin/mp.py @@ -1,5 +1,5 @@ #!/usr/bin/env python2 -# Version 0.7.3 +# Version 0.7.4 import os import sys @@ -26,6 +26,7 @@ SFIX = "" DOCROOT = "" pkgfile = "none" pkgbase = "" +pkglist = "" pkgname = "" pkgver = "" pkgrel = "" @@ -132,6 +133,7 @@ def commandline(): cli_dict['--'+o] = cmd1 elif cmd1 is not None: cli_dict['-'+o] = cmd1 + print "CLI Dictionary is:",cli_dict for o in options2: cmd2 = eval('options.'+o) if cmd2 is True: @@ -227,6 +229,14 @@ def update_repo(): print "INFO: Changed working dir to",DOCROOT print + # Check for --pkg in makepkg command and adjust pkglist accordingly + if not "--pkg" in cli_dict.keys(): + global pkglist + else: + v = cli_dict["--pkg"] + pkglist = v.split() + print "Package list:",pkglist + for i in pkglist: print "Package name:",i |