[Jifty-commit] r4795 - in jifty/trunk: lib/Jifty/Script
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Mon Jan 7 14:11:00 EST 2008
Author: sartak
Date: Mon Jan 7 14:11:00 2008
New Revision: 4795
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Script/Script.pm
Log:
r49938 at onn: sartak | 2008-01-07 14:10:22 -0500
Tiny fixes in the new Jifty::Script::Script (hanenkamp++)
Modified: jifty/trunk/lib/Jifty/Script/Script.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Script/Script.pm (original)
+++ jifty/trunk/lib/Jifty/Script/Script.pm Mon Jan 7 14:11:00 2008
@@ -49,7 +49,7 @@
my $self = shift;
my $script = $self->{name};
- die "You need to give your new model a --name\n"
+ die "You need to give your new script a --name\n"
unless defined $script;
Jifty->new( no_handle => 1 );
@@ -83,7 +83,7 @@
my ($volume, $dir, $file) = File::Spec->splitpath($path);
# Make sure the directories we need are there
- Jifty::Util->make_path($dir);
+ Jifty::Util->make_path($dir);
# If it already exists, bail
if (-e $path and not $self->{force}) {
@@ -92,7 +92,7 @@
}
}
exit if $halt;
-
+
# Now that we've san-checked everything, we can write the files
for my $path (keys %files) {
print "Writing file $path\n";
More information about the Jifty-commit
mailing list