nixpkgs/pkgs/build-support/fetchcvs/builder.sh
Marc Weber 7a9d92486f Synergy added and fetchcvs modified (see mailinglist post)
svn path=/nixpkgs/trunk/; revision=9624
2007-11-11 08:16:23 +00:00

17 lines
432 B
Bash

source $stdenv/setup
if test -z "$tag"; then
tag="-DNOW"
fi
# creating the export drictory and checking out there only to be able to
# move the content without the root directory into $out ...
# cvs -f -d "$url" export $tag -d "$out" "$module"
# should work (but didn't - got no response on #cvs)
# See als man Page for those options
ensureDir $out export
cd export; cvs -f -d "$url" export $tag "$module"
mv */* $out
stopNest