tag 301788 patch
thanks

Another patch to remove use of the symlinks program. It seemed that this
time the use of symlinks just warned on broken links, so I followed
along with an || true after the find. I have to admit that as a way to
generate warning messages, the find is not as useful as it is as a way
to crash the build if there's a broken link found. Oh well.

-- 
see shy jo
diff -ur old/sgml-data-2.0.2/debian/control sgml-data-2.0.2/debian/control
--- old/sgml-data-2.0.2/debian/control  2004-02-14 09:47:41.000000000 -1000
+++ sgml-data-2.0.2/debian/control      2005-03-31 13:08:58.000000000 -1000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Adam Di Carlo <[EMAIL PROTECTED]>
 Standards-Version: 3.6.1
-Build-Depends-Indep: debhelper (>= 4.1.83.1), symlinks, xml-core (>= 0.06)
+Build-Depends-Indep: debhelper (>= 4.1.83.1), xml-core (>= 0.06)
 
 Package: sgml-data
 Architecture: all
diff -ur old/sgml-data-2.0.2/debian/rules sgml-data-2.0.2/debian/rules
--- old/sgml-data-2.0.2/debian/rules    2004-02-01 14:11:47.000000000 -1000
+++ sgml-data-2.0.2/debian/rules        2005-03-31 13:10:50.000000000 -1000
@@ -88,7 +88,7 @@
        dh_fixperms
 
 #       check for bad links
-       symlinks -r $(prefix) | grep dangling | wc -l
+       find $(prefix) -type l -follow >/dev/null || true
 
        dh_compress -i
 

Attachment: signature.asc
Description: Digital signature

Reply via email to