[Bps-public-commit] Shipwright branch, master, updated. cced90ce4b644e44c49229afcdfe1e8481dcffc1

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sat Sep 12 00:45:45 EDT 2009


The branch, master has been updated
       via  cced90ce4b644e44c49229afcdfe1e8481dcffc1 (commit)
      from  2458f28520d4e463f0b5f2d1f42577abafc4a179 (commit)

Summary of changes:
 share/bin/shipwright-utility |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit cced90ce4b644e44c49229afcdfe1e8481dcffc1
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Sat Sep 12 12:45:39 2009 +0800

    no YAML::Syck any more, update shipwirght-utility

diff --git a/share/bin/shipwright-utility b/share/bin/shipwright-utility
index af1b043..df48899 100755
--- a/share/bin/shipwright-utility
+++ b/share/bin/shipwright-utility
@@ -3,7 +3,7 @@ use strict;
 use warnings;
 
 use Getopt::Long;
-use YAML::Syck;
+use YAML::Tiny;
 use List::MoreUtils qw/uniq firstidx/;
 use Carp;
 
@@ -120,7 +120,7 @@ sub fill_deps {
     my $name    = $args{name};
 
     my $string;
-    my $req = LoadFile("scripts/$name/require.yml");
+    my $req = YAML::Tiny::LoadFile("scripts/$name/require.yml");
 
     if ( $req->{requires} ) {
         for (qw/requires recommends build_requires/) {

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



More information about the Bps-public-commit mailing list