Changeset 1076 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/Base.pm
- Timestamp:
- Jul 26, 2010, 1:18:49 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Base.pm
r1063 r1076 71 71 # Analysis a URI and return its components in a table 72 72 # 73 my ($scheme, $account, $host, $port, $path) = pb_get_uri("svn+ssh://ac@my.server.org /path/to/dir");73 my ($scheme, $account, $host, $port, $path) = pb_get_uri("svn+ssh://ac@my.server.org:port/path/to/dir"); 74 74 75 75 # … … 196 196 $account = "" if (not defined $account); 197 197 $host = "" if (not defined $host); 198 $port = "" if (not defined $port); 198 if (not defined $port) { 199 $port = "" 200 } else { 201 # Remove extra : at start 202 $port =~ s/^://; 203 } 199 204 200 205 pb_log(2,"DEBUG: scheme:$scheme ac:$account host:$host port:$port path:$path\n");
Note:
See TracChangeset
for help on using the changeset viewer.