Re: Documentation Guide v2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 25 Apr 2005 14:56, Tommy Reynolds wrote:
> Uttered "Paul W. Frields" <stickster@xxxxxxxxx>, spake thus:
> > You're definitely "on call" for that part... I added it to my Wiki
> > notes.
>
> Should be a no-brainer:
>
> #!/bin/sh
> # Where are we playing?
> sandbox="$1"
> repo=${sandbox}/Repo,man
> # Create necessary infrastructure
> mkdir -p ${repo}
> cd ${sandbox}
> cvs -d ${repo} init
> # Populate with FDP essentials
> for x in documentation-guide example-tutorial
> do
> 	cvs -d :pserver:anonymous@xxxxxxxxxxxxxxxxxx:/usr/local/CVS co \
> 		-d ${x}-tmp ${x}
> 	find ${x}-tmp -name CVS -print | xargs rm -rf
> 	(
> 		cd ${x}-tmp
> 		cvs -d ${repo} import -m"Imported ${x}" ${x} fdp-sandbox initial
> 	)
> 	cvs -d ${repo} co ${x}
> 	rm -rf ${x}-tmp
> done
> # All's well that ends well.
>
>
> is all that's needed, except for error checking.

Yes, as with most scripts this comes last ;-)

>
> Cheers

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E ghenry@xxxxxxxxxxxxxxxxxx

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/

-- 

fedora-docs-list@xxxxxxxxxx
To unsubscribe: 
http://www.redhat.com/mailman/listinfo/fedora-docs-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Red Hat 9]     [Yosemite News]     [KDE Users]

  Powered by Linux