Allow not-that-shallow git fetches; enable it for uzbl

svn path=/nixpkgs/trunk/; revision=17980
This commit is contained in:
Michael Raskin
2009-10-27 19:52:01 +00:00
parent a7261348d8
commit cd04c58fe2
5 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ source $stdenv/setup
header "exporting $url (rev $rev) into $out"
git clone --depth 1 "$url" $out
git clone --depth "$depth" "$url" $out
if test -n "$rev"; then
cd $out
git checkout $rev