summaryrefslogtreecommitdiff
path: root/sfeed_update
diff options
context:
space:
mode:
Diffstat (limited to 'sfeed_update')
-rwxr-xr-xsfeed_update6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfeed_update b/sfeed_update
index de47ed9..46d934e 100755
--- a/sfeed_update
+++ b/sfeed_update
@@ -70,11 +70,11 @@ feed() {
tmpfile=$(mktemp -p "$TMPDIR")
(if [ "$4" = "" ]; then
# don't use iconv if encoding not set in config.
- fetchfeed "$2" "$1" | sfeed | addfield "$1 $2 $3"
+ fetchfeed "$2" "$1"
else
# use iconv to convert encoding to UTF-8.
- fetchfeed "$2" "$1" | iconv -cs -f "$4" -t "utf-8" | sfeed | addfield "$1 $2 $3"
- fi) > "$tmpfile"
+ fetchfeed "$2" "$1" | iconv -cs -f "$4" -t "utf-8"
+ fi) | sfeed | addfield "$1 $2 $3" > "$tmpfile"
}
terminated() {