[Bps-public-commit] Prophet branch, config-gitlike, updated. 4c7aba772f3f9d30ac6fe43569ceaed190aa709a

spang at bestpractical.com spang at bestpractical.com
Fri Jun 26 07:26:06 EDT 2009


The branch, config-gitlike has been updated
       via  4c7aba772f3f9d30ac6fe43569ceaed190aa709a (commit)
      from  64cc2ffd1ed6b5a907e3ae8cb4ef0e3d8e8e29d7 (commit)

Summary of changes:
 lib/Prophet/CLI/Command/Config.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 4c7aba772f3f9d30ac6fe43569ceaed190aa709a
Author: Christine Spang <spang at mit.edu>
Date:   Fri Jun 26 14:25:50 2009 +0300

    -w, not -W

diff --git a/lib/Prophet/CLI/Command/Config.pm b/lib/Prophet/CLI/Command/Config.pm
index 47dd29d..253070d 100644
--- a/lib/Prophet/CLI/Command/Config.pm
+++ b/lib/Prophet/CLI/Command/Config.pm
@@ -71,7 +71,7 @@ sub run {
         die "You don't have write permissions on "
             .$self->config_filename.", can't edit!\n"
             if (-e $self->config_filename && ! -w $self->config_filename)
-                || ! -W (File::Spec->splitpath($self->config_filename))[1];
+                || ! -w (File::Spec->splitpath($self->config_filename))[1];
         my $template = $self->make_template;
 
         while ( !$done ) {

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list