Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
David Barchiesi
OpenLDAP
Commits
d420fdf7
Commit
d420fdf7
authored
Aug 27, 1999
by
Kurt Zeilenga
Browse files
If filenm is "" or ":", skip it
parent
5a8254fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/mkdep
View file @
d420fdf7
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment