]>
git.saurik.com Git - apple/xnu.git/blob - tools/tests/libMicro/mk_tarball
3 # Copyright 2003 Sun Microsystems, Inc. All rights reserved.
4 # Use is subject to license terms.
7 # script to make tarball... args are contents to be inserted
10 libmicro_version
=`bin/getpid -V`
11 case $libmicro_version in
15 echo "ERROR: cannot determine libMicro version"
18 dirname="libMicro-$libmicro_version"
21 target
=$here/libMicro.
tar
22 tmpdir
=/private
/tmp
/libmicro.$$
23 mkdir -p $tmpdir/$dirname
24 cp $
* $tmpdir/$dirname
26 tar cvf
$target $dirname