summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2013-06-24 10:47:49 +0200
committerJonas Smedegaard <dr@jones.dk>2013-06-24 10:47:49 +0200
commit10b1f181d16c5c2248da4a21fdb2763156d1d7ab (patch)
tree62aa5f79b51007ef3e7450b99758848c3eb4b1a7
parentf8582687aab94d0e009796e6c51c9bb6e4192106 (diff)
Fix obey --theme.
-rwxr-xr-xlocalwebgallerydaemon2
1 files changed, 1 insertions, 1 deletions
diff --git a/localwebgallerydaemon b/localwebgallerydaemon
index 17d61f2..7ae546b 100755
--- a/localwebgallerydaemon
+++ b/localwebgallerydaemon
@@ -113,7 +113,7 @@ case $generator in
esac
# Static defaults
-lazygal_opts="--quiet --check-all-dirs --clean-destination ${THEME:+--theme $THEME}"
+lazygal_opts="--quiet --check-all-dirs --clean-destination ${THEME:+--theme $theme}"
# Sanity checks
[ -d "$sourcedir" ] || exit1 "Source directory \"$sourcedir\" is not a directory"