Downloaded and integrated latest wiki documentation from the geda website.
[geda-gaf/whiteaudio.git] / docs / scripts / copygitignores.sh
blobe7da5a1858eaab1602e0ec4ff8d9bab5513094ef
1 #!/bin/sh
3 if [ ! -d "wiki" -a ! -d "wip" ]
4 then
5 echo "You must start this program in the toplevel docs directory"
6 echo "wherever wiki and wip live."
7 exit 1
8 fi
10 files=`find wiki -name .gitignore -print`
12 for i in $files
14 src=$i
15 dest=`echo $i | sed "s/^wiki/wip/"`
16 echo Copying $src to $dest
17 cp -f $src $dest
18 done