Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the core Java library in the dolda.dolcon.protocol package instead.
[doldaconnect.git]
/
config
/
dc-filter
diff --git
a/config/dc-filter
b/config/dc-filter
old mode 100644
(file)
new mode 100755
(executable)
index
e3d0a26
..
1fcb45e
--- a/
config/dc-filter
+++ b/
config/dc-filter
@@
-10,7
+10,12
@@
exec 2>>$HOME/dc/filterlog
cd $HOME/dc
unset speedrecpath
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
if [ -x "${dir}/speedrec" ]; then
speedrecpath="${dir}/speedrec"
fi
@@
-115,7
+120,7
@@
if [ -e "$newname" ]; then
fi
mv "$resfile" "$newname"
if [ -x $HOME/dc/complete ]; then
fi
mv "$resfile" "$newname"
if [ -x $HOME/dc/complete ]; then
- export "${!dcarg_@}" tth
+ export "${!dcarg_@}" tth
filesize
exec $HOME/dc/complete "$newname"
fi
exit 0
exec $HOME/dc/complete "$newname"
fi
exit 0