mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-24 15:32:22 +08:00
If filenm is "" or ":", skip it
This commit is contained in:
parent
5a8254fa45
commit
d420fdf784
@ -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…
x
Reference in New Issue
Block a user