Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18583
Modified Files:
Tag: rel-1-2-patches
man-pages
Log Message:
improvement of broken symlinks finding
Index: man-pages
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/man-pages,v
retrieving revision 1.7.2.1
retrieving revision 1.7.2.2
diff -u -d -r1.7.2.1 -r1.7.2.2
--- man-pages 1 Oct 2005 00:29:20 -0000 1.7.2.1
+++ man-pages 2 Oct 2005 10:06:03 -0000 1.7.2.2
@@ -70,7 +70,7 @@
pushd $CDDIR/usr/share/man
for a in `ls $CDDIR/usr/share/man`; do
pushd $a
- for i in `find -exec file {} \; | grep "broken symbolic link" | awk ' {print $1}' | tr -s "[:]" "\040"` ; do
+ for i in `find -type l -exec file {} \; | grep "broken symbolic link" | awk -F: ' {print $1}'` ; do
$(`ls -la $i | awk ' { print "ln -sf " $11 ".gz", $9} '`)
done
popd
|