Dolda2000 GitWeb
/
doldaconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2acf125
)
Look properly for all appropriate libexec directories.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 12 Aug 2007 15:53:30 +0000
(17:53 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 12 Aug 2007 16:01:16 +0000
(18:01 +0200)
config/dc-filter
patch
|
blob
|
blame
|
history
diff --git
a/config/dc-filter
b/config/dc-filter
index
23049eb
..
1fcb45e
100755
(executable)
--- a/
config/dc-filter
+++ b/
config/dc-filter
@@
-10,7
+10,12
@@
exec 2>>$HOME/dc/filterlog
cd $HOME/dc
unset speedrecpath
-for dir in /usr/libexec /usr/local/libexec; do
+IFS=: binpath=($PATH)
+lepath=()
+for dir in "${binpath[@]}"; do
+ lepath=("${lepath[@]}" "${dir%/bin}/libexec")
+done
+for dir in "${lepath[@]}" /usr/libexec /usr/local/libexec; do
if [ -x "${dir}/speedrec" ]; then
speedrecpath="${dir}/speedrec"
fi