Changeset 16315
- Timestamp:
- Feb 5, 2008, 1:14:22 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
Nebulous-Server/bin/neb-addvol (modified) (3 diffs)
-
Nebulous/bin/neb-addvol (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/bin/neb-addvol
r16182 r16315 3 3 # Copyright (C) 2005-2008 Joshua Hoblitt 4 4 # 5 # $Id: neb-addvol,v 1. 7 2008-01-22 21:40:39 jhoblittExp $5 # $Id: neb-addvol,v 1.8 2008-02-05 23:14:22 eugene Exp $ 6 6 7 7 use strict; … … 13 13 use DBI; 14 14 use Nebulous::Server::SQL; 15 use URI::file; 15 16 use URI; 16 17 … … 51 52 print "Checking URI..."; 52 53 53 my $path = URI->new($uri)-> file;54 my $path = URI->new($uri)->path; 54 55 unless (-d $path) { 55 56 die "path: $path dirived from URI: $uri does not exist"; -
trunk/Nebulous/bin/neb-addvol
r16182 r16315 3 3 # Copyright (C) 2005-2008 Joshua Hoblitt 4 4 # 5 # $Id: neb-addvol,v 1. 7 2008-01-22 21:40:39 jhoblittExp $5 # $Id: neb-addvol,v 1.8 2008-02-05 23:14:22 eugene Exp $ 6 6 7 7 use strict; … … 13 13 use DBI; 14 14 use Nebulous::Server::SQL; 15 use URI::file; 15 16 use URI; 16 17 … … 51 52 print "Checking URI..."; 52 53 53 my $path = URI->new($uri)-> file;54 my $path = URI->new($uri)->path; 54 55 unless (-d $path) { 55 56 die "path: $path dirived from URI: $uri does not exist";
Note:
See TracChangeset
for help on using the changeset viewer.
