From 1fda560056eeba260fb0c2c1cab1eca9a059b6e2 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Sun, 15 Apr 2018 13:39:33 +0200 Subject: [PATCH] Fix #73 bug on theme creation --- CHANGELOG | 3 +++ lib/Lutim/Command/theme.pm | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 8c34dab..9df6373 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ Revision history for Lutim +0.10.1 2018-04-15 + - Fix bug on theme creation (#73) + 0.10.0 2018-04-07 - PostgreSQL performance improvments - Move some tasks to recurring instead of being in after_dispatch hook diff --git a/lib/Lutim/Command/theme.pm b/lib/Lutim/Command/theme.pm index f2e2640..45f3d06 100644 --- a/lib/Lutim/Command/theme.pm +++ b/lib/Lutim/Command/theme.pm @@ -41,14 +41,14 @@ use Locale::Maketext::Lexicon { _style => 'gettext', '*' => [ Gettext => dirname(__FILE__) . '/I18N/*.po', - Gettext => $app_dir . 'themes/default/lib/Lutim/I18N/*.po', + Gettext => \$app_dir . 'themes/default/lib/Lutim/I18N/*.po', ] }; -use vars qw($app_dir); +use vars qw(\$app_dir); BEGIN { use Cwd; - my $app_dir = getcwd; + my \$app_dir = getcwd; } 1;