]> git.saurik.com Git - apple/xnu.git/blob - tools/tests/libMicro/wrapper.sh
xnu-4570.20.62.tar.gz
[apple/xnu.git] / tools / tests / libMicro / wrapper.sh
1 #!/bin/sh
2 #
3 # CDDL HEADER START
4 #
5 # The contents of this file are subject to the terms
6 # of the Common Development and Distribution License
7 # (the "License"). You may not use this file except
8 # in compliance with the License.
9 #
10 # You can obtain a copy of the license at
11 # src/OPENSOLARIS.LICENSE
12 # or http://www.opensolaris.org/os/licensing.
13 # See the License for the specific language governing
14 # permissions and limitations under the License.
15 #
16 # When distributing Covered Code, include this CDDL
17 # HEADER in each file and include the License file at
18 # usr/src/OPENSOLARIS.LICENSE. If applicable,
19 # add the following below this CDDL HEADER, with the
20 # fields enclosed by brackets "[]" replaced with your
21 # own identifying information: Portions Copyright [yyyy]
22 # [name of copyright owner]
23 #
24 # CDDL HEADER END
25 #
26
27 #
28 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
29 # Use is subject to license terms.
30 #
31
32
33 BASENAME=`basename $0`
34 DIRNAME=`dirname $0`
35 ARCH=`uname -m`
36
37 exec $DIRNAME/../bin-$ARCH/$BASENAME "$@"