portage.doebuild(ebuildpath,"config",portage.root,mysettings,debug=("--debug" in myopts),cleanup=True,tree="vartree")
print
-if myaction in ["sync","metadata"] and "--help" not in myopts:
- if "--pretend" in myopts:
- print "emerge: \"sync\" actions do not support \"--pretend.\""
- sys.exit(1)
- action_sync()
-elif myaction=="regen":
- action_regen()
-# HELP action
-elif "config"==myaction:
- action_config()
-
-# INFO action
-elif "info"==myaction:
+def action_info():
unameout=commands.getstatusoutput("uname -mrp")[1]
print getportageversion()
print "================================================================="
if "cvs_id_string" in dir(module):
print "%s: %s" % (str(x), str(module.cvs_id_string))
+if myaction in ["sync","metadata"] and "--help" not in myopts:
+ if "--pretend" in myopts:
+ print "emerge: \"sync\" actions do not support \"--pretend.\""
+ sys.exit(1)
+ action_sync()
+elif myaction=="regen":
+ action_regen()
+# HELP action
+elif "config"==myaction:
+ action_config()
+
+# INFO action
+elif "info"==myaction:
+ action_info()
+
# SEARCH action
elif "search"==myaction:
if not myfiles: