nixpkgs/pkgs/build-support/fetchsvn/builder.sh
Eelco Dolstra 003ce6c40d * A function to fetch sources from a Subversion repository.
svn path=/nixpkgs/trunk/; revision=544
2003-11-25 17:38:48 +00:00

11 lines
181 B
Bash
Executable file

#! /bin/sh
buildinputs="$subversion"
. $stdenv/setup
echo "exporting $url (r$rev) into $out..."
svn export -r $rev "$url" $out || exit 1
echo $rev > $out/svn-revision || exit 1