mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-16 20:06:06 -05:00
If filenm is "" or ":", skip it
This commit is contained in:
parent
5a8254fa45
commit
d420fdf784
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue