summaryrefslogtreecommitdiff
path: root/sfeed_opml_export
diff options
context:
space:
mode:
Diffstat (limited to 'sfeed_opml_export')
-rwxr-xr-xsfeed_opml_export4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_opml_export b/sfeed_opml_export
index 1f9c1cc..74e6de7 100755
--- a/sfeed_opml_export
+++ b/sfeed_opml_export
@@ -4,7 +4,7 @@
# loadconfig(configfile)
loadconfig() {
# allow to specify config via argv[1].
- if [ ! "$1" = "" ]; then
+ if [ ! x"$1" = x"" ]; then
# get absolute path of config file.
config=$(readlink -f "$1")
else
@@ -23,7 +23,7 @@ loadconfig() {
}
# override feeds function to ouput opml XML.
-# feed(name, feedurl, basesiteurl, [encoding])
+# feed(name, feedurl, [basesiteurl], [encoding])
feed() {
printf '\t\t<outline title="%s" text="%s" xmlUrl="%s" htmlUrl="%s"/>\n' "$1" "$1" "$2" "$3"
}