Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 22 lines (16 sloc) 345 Bytes
#!/bin/sh -x
# copy cwd to SRCROOT like installsrc
if [ -z "$SRCROOT" ]; then
PWD=`pwd`
SRCROOT=/tmp/`basename "$PWD"`
fi
echo Exporting to $SRCROOT
mkdir -p "$SRCROOT"
gnutar cf - \
--exclude=.svn \
--exclude=CVS \
--exclude=build \
--exclude=testing \
--exclude=\*.APPLE \
--exclude=install\* \
. | (cd "$SRCROOT"; gnutar xf - )