Changeset 23894 for trunk/ippScripts/scripts/receive_fileset.pl
- Timestamp:
- Apr 16, 2009, 5:54:55 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/receive_fileset.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/receive_fileset.pl
r23888 r23894 55 55 my @files = (); # Files to add 56 56 { 57 my $uri = "$source/ product/$fileset"; # URI for datastore fileset57 my $uri = "$source/$product/$fileset"; # URI for datastore fileset 58 58 $uri .= "/index.txt" unless $uri =~ m|/index.txt$|; 59 59 my $command = "dsfilesetls --uri $uri"; # Command to execute … … 64 64 65 65 # Get files 66 foreach my $line (@$stdout_buf) { 66 my @lines = split(/\n/, join "", @$stdout_buf); # Lines from output 67 foreach my $line ( @lines ) { 67 68 $line =~ s/\#.*$//; 68 69 next unless $line =~ /\S+/; … … 77 78 my $command = "receivetool -addfile"; # Command to execute 78 79 $command .= " -fileset_id $fileset_id"; 79 $command .= " -file " . join(' -file', @files);80 $command .= " -file " . join(' -file ', @files); 80 81 $command .= " -dbname $dbname" if defined $dbname; 81 82
Note:
See TracChangeset
for help on using the changeset viewer.
