[Jifty-commit] r401 -

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Dec 26 19:59:35 EST 2005


Author: jesse
Date: Mon Dec 26 19:59:34 2005
New Revision: 401

Modified:
   /   (props changed)
   jifty/trunk/lib/Jifty/Script/App.pm

Log:
 r21797 at truegrounds:  jesse | 2005-12-26 19:37:00 -0500
 jifty app  updated to not try to load a config file


Modified: jifty/trunk/lib/Jifty/Script/App.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Script/App.pm	(original)
+++ jifty/trunk/lib/Jifty/Script/App.pm	Mon Dec 26 19:59:34 2005
@@ -6,6 +6,7 @@
 
 use YAML;
 use File::Copy;
+use Jifty::Config;
 
 __PACKAGE__->mk_accessors(qw/prefix dist_name mod_name/);
 
@@ -130,7 +131,7 @@
 
 sub _write_config {
     my $self = shift;
-    my $cfg = Jifty::Config->new();
+    my $cfg = Jifty::Config->new(load_config => 0);
     my $default_config = $cfg->guess($self->dist_name);
     my $file = join("/",$self->prefix, 'etc','config.yml');
     print("Creating configuration file $file\n");


More information about the Jifty-commit mailing list