2006-05-11 16:36:16 +04:00
|
|
|
source $stdenv/setup
|
|
|
|
|
2007-11-11 11:16:23 +03:00
|
|
|
# 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
|
2006-05-11 16:36:16 +04:00
|
|
|
|
2007-11-11 11:16:23 +03:00
|
|
|
ensureDir $out export
|
2007-11-13 04:26:54 +03:00
|
|
|
set -x
|
|
|
|
if [ -n "$tag" ]; then
|
|
|
|
tag="-r $tag"
|
|
|
|
else
|
|
|
|
if [ -n "$date" ]; then
|
|
|
|
tag="-D $date"
|
|
|
|
else
|
|
|
|
tag="-D NOW"
|
|
|
|
fi
|
|
|
|
fi
|
2007-11-11 11:16:23 +03:00
|
|
|
cd export; cvs -f -d "$url" export $tag "$module"
|
|
|
|
mv */* $out
|
2006-05-11 16:36:16 +04:00
|
|
|
|
|
|
|
stopNest
|