IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16315


Ignore:
Timestamp:
Feb 5, 2008, 1:14:22 PM (18 years ago)
Author:
eugene
Message:

fixed typo (file for path)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/bin/neb-addvol

    r16182 r16315  
    33# Copyright (C) 2005-2008  Joshua Hoblitt
    44#
    5 # $Id: neb-addvol,v 1.7 2008-01-22 21:40:39 jhoblitt Exp $
     5# $Id: neb-addvol,v 1.8 2008-02-05 23:14:22 eugene Exp $
    66
    77use strict;
     
    1313use DBI;
    1414use Nebulous::Server::SQL;
     15use URI::file;
    1516use URI;
    1617
     
    5152print "Checking URI...";
    5253
    53 my $path = URI->new($uri)->file;
     54my $path = URI->new($uri)->path;
    5455unless (-d $path) {
    5556    die "path: $path dirived from URI: $uri does not exist";
  • trunk/Nebulous/bin/neb-addvol

    r16182 r16315  
    33# Copyright (C) 2005-2008  Joshua Hoblitt
    44#
    5 # $Id: neb-addvol,v 1.7 2008-01-22 21:40:39 jhoblitt Exp $
     5# $Id: neb-addvol,v 1.8 2008-02-05 23:14:22 eugene Exp $
    66
    77use strict;
     
    1313use DBI;
    1414use Nebulous::Server::SQL;
     15use URI::file;
    1516use URI;
    1617
     
    5152print "Checking URI...";
    5253
    53 my $path = URI->new($uri)->file;
     54my $path = URI->new($uri)->path;
    5455unless (-d $path) {
    5556    die "path: $path dirived from URI: $uri does not exist";
Note: See TracChangeset for help on using the changeset viewer.