From: Kurt Zeilenga Date: Fri, 27 Aug 1999 18:23:58 +0000 (+0000) Subject: If filenm is "" or ":", skip it X-Git-Tag: TWEB_OL_BASE~97 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d420fdf78467fa607e9dc5420327b6e4f694ecc0;p=openldap If filenm is "" or ":", skip it --- diff --git a/build/mkdep b/build/mkdep index 9c35e59dad..83e40c8c82 100755 --- a/build/mkdep +++ b/build/mkdep @@ -156,17 +156,18 @@ $1 !~ /:$/ { dep=$0 } /.*/ { + if ( length(filenm) < 2 ) next if ( filenm ~ /:.*:$/ ) next split(dep, depends, " ") for(d in depends) { dfile = depends[d] + if ( length(dfile) < 2 ) continue if ( dfile ~ /:/ ) continue if (( noslash == "yes") && (dfile ~ /^\// )) continue - if ( length(dfile) < 2 ) continue rec = filenm " " dfile print rec } - } +} ' noslash="$NOSLASH" $TMP.sed >> $TMP