/[Sack]/trunk/lib/Sack/Server.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Sack/Server.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 259 by dpavlin, Thu Dec 24 13:06:25 2009 UTC revision 260 by dpavlin, Sun Jan 31 16:03:50 2010 UTC
# Line 88  sub load_shard { Line 88  sub load_shard {
88    
89          warn "# load_shard $shard\n";          warn "# load_shard $shard\n";
90    
91          my @shards = glob "$shard/*";          $shard .= '/*' if -d $shard;
92    
93            my @shards = glob $shard;
94    
95          if ( ! @shards ) {          if ( ! @shards ) {
96                  warn "no shards for $shard\n";                  warn "no shards for $shard\n";

Legend:
Removed from v.259  
changed lines
  Added in v.260

  ViewVC Help
Powered by ViewVC 1.1.26