Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 1c73e35a03
Fetching contributors…

Cannot retrieve contributors at this time

executable file 23 lines (16 sloc) 0.3 kB
#!/bin/sh
src="$(dirname $(readlink -f $0))"
if [ "x$1" = "x-f" ]; then
dst="$(readlink -mn $2)/"
args="-f"
else
dst="$(readlink -mn $1)/"
args="$2"
fi
echo "Exporting the modules from '$src' to '$dst'"
mkdir -p $dst
(
cd "$src"
git checkout-index -a $args "--prefix=$dst"
)
echo "Done!"
Jump to Line
Something went wrong with that request. Please try again.