Debian Codegraph @

doc/.undosymlinks

raw
1 #!/bin/sh
2 ######################################################################
3 # #
4 # .undosymlinks for CBFlib/doc directory #
5 # #
6 # #
7 # Version 0.7.8.2 25 Jun 2007 #
8 # #
9 # Paul Ellis and #
10 # Herbert J. Bernstein ([email protected]) #
11 # #
12 # (C) Copyright 2006 - 2007 Herbert J. Bernstein #
13 # #
14 ######################################################################
15
16 ######################################################################
17 # #
18 # YOU MAY REDISTRIBUTE THE CBFLIB PACKAGE UNDER THE TERMS OF THE GPL #
19 # #
20 # ALTERNATIVELY YOU MAY REDISTRIBUTE THE CBFLIB API UNDER THE TERMS #
21 # OF THE LGPL #
22 # #
23 ######################################################################
24
25 ########################### GPL NOTICES ##############################
26 # #
27 # This program is free software; you can redistribute it and/or #
28 # modify it under the terms of the GNU General Public License as #
29 # published by the Free Software Foundation; either version 2 of #
30 # (the License, or (at your option) any later version. #
31 # #
32 # This program is distributed in the hope that it will be useful, #
33 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
34 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
35 # GNU General Public License for more details. #
36 # #
37 # You should have received a copy of the GNU General Public License #
38 # along with this program; if not, write to the Free Software #
39 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA #
40 # 02111-1307 USA #
41 # #
42 ######################################################################
43
44 ######################### LGPL NOTICES ###############################
45 # #
46 # This library is free software; you can redistribute it and/or #
47 # modify it under the terms of the GNU Lesser General Public #
48 # License as published by the Free Software Foundation; either #
49 # version 2.1 of the License, or (at your option) any later version. #
50 # #
51 # This library is distributed in the hope that it will be useful, #
52 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
53 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
54 # Lesser General Public License for more details. #
55 # #
56 # You should have received a copy of the GNU Lesser General Public #
57 # License along with this library; if not, write to the Free #
58 # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, #
59 # MA 02110-1301 USA #
60 # #
61 ######################################################################
62
63 # Usage ./.undosymlinks
64
65 for file in cif_img.dic cif_img.html cif_img_1_3_2.html \
66 cif_img_1.5.dic cif_img_1.5.html cif_img_1.5.4.html \
67 cif_img_1.6.dic cif_img_1.6.html cif_img_1.6.4.dic \
68 cif_img_1.6.3.html \
69 cif_img_1.6.4.html cif_img_1.7.html cif_img_1.7.dic \
70 cif_img_1.7.0.html cif_img_1.7.0.dic \
71 cif_img_1.7.1.html cif_img_1.7.1.dic \
72 cif_img_1.7.2.html cif_img_1.7.2.dic
73 do
74 rm -rf $file
75 done
76
77 for file in *
78 do
79 if [ -d "$file" ] ; then
80 if [ -e "$file/.undosymlinks" ] ; then
81 (cd "$file"; sh -c "./.undosymlinks")
82 fi
83 fi
84 done