projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a47dbfe
)
Keep sed from complaining when the directory in an include directory is empty
author
fuzzyray
<fuzzyray@gentoo.org>
Mon, 15 Feb 2010 19:26:34 +0000
(19:26 -0000)
committer
fuzzyray
<fuzzyray@gentoo.org>
Mon, 15 Feb 2010 19:26:34 +0000
(19:26 -0000)
svn path=/trunk/gentoolkit/; revision=742
bin/revdep-rebuild
patch
|
blob
|
history
diff --git
a/bin/revdep-rebuild
b/bin/revdep-rebuild
index f797f89e47616e6416d260a91cbcb43816ffa59e..1eb4393c7ee247cfd606bcbdb3debb71357863a2 100755
(executable)
--- a/
bin/revdep-rebuild
+++ b/
bin/revdep-rebuild
@@
-669,7
+669,7
@@
parse_ld_so_conf() {
local include
for path in $(sed '/^#/d;s/#.*$//' < /etc/ld.so.conf); do
if [[ $include = true ]]; then
- for include_path in $(sed '/^#/d;s/#.*$//' /etc/${path}); do
+ for include_path in $(sed '/^#/d;s/#.*$//' /etc/${path}
2>/dev/null
); do
echo $include_path
done
include=""