--- loncom/build/Attic/parse.pl 2001/04/17 14:17:22 1.37 +++ loncom/build/Attic/parse.pl 2001/05/21 21:56:35 1.40 @@ -182,6 +182,35 @@ www:!!:500:500:www:/home/www:/bin/bash END close OUT; open OUT,">>setup_file_list.txt"; + print OUT "BinaryRoot/etc/group\n"; + close OUT; + open OUT,">BinaryRoot/etc/group"; + print OUT<>setup_file_list.txt"; print OUT "BinaryRoot/etc/hosts.deny\n"; close OUT; open OUT,">BinaryRoot/etc/hosts.deny"; @@ -190,7 +219,7 @@ ALL: ALL END 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"; print OUT "BinaryRoot/home/www\n"; close OUT; @@ -604,18 +633,18 @@ sub make_files_build_segment { if ($build) { my $dependencies=$info{'LOCATION'}{$distribution}{$filesfull[$i]}{'DEPENDENCIES'}; my $source2=$source; - $source2=~s/^[^\/]+\///; - $source2="../" . $source2; +# $source2=~s/^[^\/]+\///; + $source2="../../" . $source2; $sources.="$source2 "; my $directory=$build; - $directory=~s/^[^\/]+\///; +# $directory=~s/^[^\/]+\///; $directory=~s/([^\/]+)$//; - $directory="../" . $directory; + $directory="../../" . $directory; my $buildfile=$1; my $sdir=$source; - $sdir=~s/^[^\/]+\///; +# $sdir=~s/^[^\/]+\///; $sdir=~s/([^\/]+)$//; - $sdir="../" . $sdir; + $sdir="../../" . $sdir; $dependencies=~s/\s+$//; my $depstat=""; if ($dependencies=~s/\s+\[ALWAYS_RUN_BUILD_COMMAND\]//) {