bass-o-matic revision 37
32N/A# The contents of this file are subject to the terms of the 32N/A# Common Development and Distribution License (the "License"). 32N/A# You may not use this file except in compliance with the License. 32N/A# See the License for the specific language governing permissions 32N/A# and limitations under the License. 32N/A# When distributing Covered Code, include this CDDL HEADER in each 32N/A# If applicable, add the following below this CDDL HEADER, with the 32N/A# fields enclosed by brackets "[]" replaced with your own identifying 32N/A# information: Portions Copyright [yyyy] [name of copyright owner] 32N/A# Copyright (c) 2010, Oracle and/or it's affiliates. All rights reserved. 32N/A# A simple program to enumerate components in the userland gate and report 32N/A# on dependency related information. 32N/A# Locate SCM directories containing Userland components by searching from 32N/A# from a supplied top of tree for .p5m files. Once a .p5m file is located, 32N/A# that directory is added to the list and no children are searched. 32N/A # get supplied packages (cd path ; gmake print-package-names) 32N/A # get supplied paths (cd path ; gmake print-package-paths) 32N/A # get required paths (cd path ; gmake print-required-paths) 32N/A print "Usage: %s [-c|--components=(path|depend)] [-z|--zone (zone)]" %
(sys.argv[0].split('/')[-1]) 34N/A [ "debug", "workspace=", "components=", 34N/A "make", "component=", "template-zone=" ])