version 1.35, 2001/04/17 14:09:14
|
version 1.39, 2001/05/18 18:52:09
|
Line 190 ALL: ALL
|
Line 190 ALL: ALL
|
END |
END |
close OUT; |
close OUT; |
|
|
`install -o 500 -g 500 -m 0700 -d BinaryRoot/home/www`; |
`install -o www -g users -m 0700 -d BinaryRoot/home/www`; |
open OUT,">>setup_file_list.txt"; |
open OUT,">>setup_file_list.txt"; |
print OUT "BinaryRoot/home/www\n"; |
print OUT "BinaryRoot/home/www\n"; |
close OUT; |
close OUT; |
Line 604 sub make_files_build_segment {
|
Line 604 sub make_files_build_segment {
|
if ($build) { |
if ($build) { |
my $dependencies=$info{'LOCATION'}{$distribution}{$filesfull[$i]}{'DEPENDENCIES'}; |
my $dependencies=$info{'LOCATION'}{$distribution}{$filesfull[$i]}{'DEPENDENCIES'}; |
my $source2=$source; |
my $source2=$source; |
$source2=~s/^[^\/]+\///; |
# $source2=~s/^[^\/]+\///; |
$source2="../" . $source2; |
$source2="../../" . $source2; |
$sources.="$source2 "; |
$sources.="$source2 "; |
my $directory=$build; |
my $directory=$build; |
$directory=~s/^[^\/]+\///; |
# $directory=~s/^[^\/]+\///; |
$directory=~s/([^\/]+)$//; |
$directory=~s/([^\/]+)$//; |
$directory="../" . $directory; |
$directory="../../" . $directory; |
my $buildfile=$1; |
my $buildfile=$1; |
my $sdir=$source; |
my $sdir=$source; |
$sdir=~s/^[^\/]+\///; |
# $sdir=~s/^[^\/]+\///; |
$sdir=~s/([^\/]+)$//; |
$sdir=~s/([^\/]+)$//; |
$sdir="../" . $sdir; |
$sdir="../../" . $sdir; |
$dependencies=~s/\s+$//; |
$dependencies=~s/\s+$//; |
my $depstat=""; |
my $depstat=""; |
if ($dependencies=~s/\s+\[ALWAYS_RUN_BUILD_COMMAND\]//) { |
if ($dependencies=~s/\s+\[ALWAYS_RUN_BUILD_COMMAND\]//) { |
Line 706 END
|
Line 706 END
|
if ($category ne 'conf' && $category ne 'symbolic link') { |
if ($category ne 'conf' && $category ne 'symbolic link') { |
if ($source!~/\*/) { |
if ($source!~/\*/) { |
$description.=<<END; |
$description.=<<END; |
\ttest '-e \$(SOURCE)/$source' \&\& install -o $owner -g $group -m $devchmod \$(SOURCE)/$source \$(TARGET)/$rot || echo "**** LON-CAPA WARNING **** CVS source file does not exist: \$(SOURCE)/$source" |
\ttest -e \$(SOURCE)/$source \&\& install -o $owner -g $group -m $devchmod \$(SOURCE)/$source \$(TARGET)/$rot || echo "**** LON-CAPA WARNING **** CVS source file does not exist: \$(SOURCE)/$source" |
END |
END |
} |
} |
else { |
else { |
|
$description.=<<END; |
\tinstall -o $owner -g $group -m $devchmod \$(SOURCE)/$source \$(TARGET)/$rot |
\tinstall -o $owner -g $group -m $devchmod \$(SOURCE)/$source \$(TARGET)/$rot |
END |
END |
} |
} |