- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
DataStore/scripts/dsproductls (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/DataStore/scripts/dsproductls
r24126 r27840 16 16 use Pod::Usage qw( pod2usage ); 17 17 18 my ($uri, $last_fileset, $timeout, $extra );18 my ($uri, $last_fileset, $timeout, $extra, $no_proxy); 19 19 20 20 GetOptions( … … 22 22 'last_fileset|l=s' => \$last_fileset, 23 23 'timeout|t=s' => \$timeout, 24 'extra|e' => \$extra, 24 'extra|e' => \$extra, 25 'no-proxy' => \$no_proxy, 25 26 ) or pod2usage( 2 ); 26 27 … … 33 34 # default http request timeout is 30s 34 35 $timeout ||= 30; 36 $no_proxy = 0 if !defined $no_proxy; 37 38 if (!($uri =~ /\/index\.txt$/)) { 39 $uri .= '/index.txt' 40 } 35 41 36 42 my %p = ( … … 42 48 my $response = DataStore::Product->new(%p)->request( 43 49 ua_args => { timeout => $timeout }, 50 no_proxy => $no_proxy, 44 51 ); 45 52 … … 111 118 Optional. 112 119 120 =item * --no-proxy 121 122 Do not load proxy environment variables. 123 124 Optional. 125 113 126 =back 114 127
Note:
See TracChangeset
for help on using the changeset viewer.
