0N/A#!/bin/sh -x
0N/A#
0N/A# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A#
0N/A#
0N/A# script to make tarball... args are contents to be inserted
0N/A#
0N/A
0N/Alibmicro_version=`bin/getpid -V`
0N/Acase $libmicro_version in
0N/A[0-9]*)
0N/A ;;
0N/A*)
0N/A echo "ERROR: cannot determine libMicro version"
0N/A exit 1
0N/Aesac
0N/Adirname="libMicro-$libmicro_version"
0N/A
0N/Ahere=`pwd`
0N/Atarget=$here/libMicro.tar
0N/Atmpdir=/tmp/libmicro.$$
0N/Amkdir -p $tmpdir/$dirname
0N/Acp $* $tmpdir/$dirname
0N/Acd $tmpdir
0N/Atar cvf $target $dirname
0N/Acd $here
0N/Arm -rf $tmpdir