2009-06-24 14:48:01 +02:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
header "exporting $url (rev $rev) into $out"
|
|
|
|
|
2009-11-08 02:57:40 +01:00
|
|
|
git clone "$url" $out
|
2009-06-24 14:48:01 +02:00
|
|
|
if test -n "$rev"; then
|
|
|
|
cd $out
|
|
|
|
git checkout $rev
|
|
|
|
fi
|
|
|
|
find $out -name .git\* | xargs rm -rf
|
|
|
|
|
|
|
|
stopNest
|
|
|
|
|