Changeset 2338 for box/trunk/infrastructure
- Timestamp:
- 08/10/2008 20:57:34 (4 years ago)
- File:
-
- 1 edited
-
box/trunk/infrastructure/makeparcels.pl.in (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/infrastructure/makeparcels.pl.in
r2328 r2338 124 124 for(@{$parcel_contents{$parcel}}) 125 125 { 126 my ($type,$name,$dest) = split /\s+/; 127 my $optional = ''; 126 my @args = split /\s+/; 127 128 my ($type,$name,$dest) = @args; 129 my $optional = 0; 130 my $install = 1; 128 131 129 132 if ($type eq 'optional') 130 133 { 131 ($optional,$type,$name,$dest) = split /\s+/; 134 $optional = 1; 135 shift @args; 136 ($type,$name,$dest) = @args; 137 } 138 139 if ($type eq 'noinstall') 140 { 141 $install = 0; 142 shift @args; 143 ($type,$name,$dest) = @args; 132 144 } 133 145 … … 185 197 { 186 198 my ($type,$name,$dest) = split /\s+/; 187 my $optional = ''; 199 200 my $optional = 0; 201 my $install = 1; 188 202 189 203 if ($type eq 'optional') 190 204 { 191 ($optional,$type,$name,$dest) = split /\s+/; 192 } 205 $optional = 1; 206 shift @args; 207 ($type,$name,$dest) = @args; 208 } 209 210 if ($type eq 'noinstall') 211 { 212 $install = 0; 213 shift @args; 214 ($type,$name,$dest) = @args; 215 } 216 193 217 194 218 if ($type eq 'script') … … 198 222 } 199 223 200 unless ($target_windows)224 if ($install and not $target_windows) 201 225 { 202 226 my $local_install_dir = $install_into_dir;
Note: See TracChangeset
for help on using the changeset viewer.
