]> git.saurik.com Git - apple/libdispatch.git/blob - EXPORT.APPLE
libdispatch-84.5.5.tar.gz
[apple/libdispatch.git] / EXPORT.APPLE
1 #!/bin/sh -x
2
3 # copy cwd to SRCROOT like installsrc
4
5 if [ -z "$SRCROOT" ]; then
6 PWD=`pwd`
7 SRCROOT=/tmp/`basename "$PWD"`
8 fi
9
10 echo Exporting to $SRCROOT
11 mkdir -p "$SRCROOT"
12
13 gnutar cf - \
14 --exclude=.svn \
15 --exclude=CVS \
16 --exclude=build \
17 --exclude=testing \
18 --exclude=\*.APPLE \
19 --exclude=install\* \
20 . | (cd "$SRCROOT"; gnutar xf - )
21