From: František Dvořák Date: Tue, 5 Apr 2011 22:39:47 +0000 (+0000) Subject: The additional subdirectory for ETICS build is not needed. X-Git-Tag: glite-lb-client_R_5_0_4_3~2 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=b673f56fba48db6ee8fe00c4332d0e151ea15269;p=jra1mw.git The additional subdirectory for ETICS build is not needed. --- diff --git a/org.glite.lb/configure b/org.glite.lb/configure index 38c8633..96cd3e0 100755 --- a/org.glite.lb/configure +++ b/org.glite.lb/configure @@ -1053,8 +1053,7 @@ sub mode_etics { my $file = $output ? $output : "$conf.ini"; open C,">$file" or die "$file: $!\n"; - my $buildroot = "build.root = $cvs_prefix{$subsys}.$subsys.$module"; - $buildroot .= '/'.$buildroot{"$subsys.$module"} unless ($buildroot{"$subsys.$module"} eq ''); + my $buildroot = $buildroot{"$subsys.$module"} eq '' ? '#no build.root' : "build.root = " . $buildroot{"$subsys.$module"}; my $confdir = $buildroot{"$subsys.$module"} eq '' ? '.' : '..'; @@ -1086,10 +1085,10 @@ sub mode_etics { my %cmd; @cmd{qw/configure compile test install packaging clean/} = ('None') x 6; $cmd{clean} = 'make clean'; - $cmd{checkout} = "mkdir -v \${moduleName}; cd \${moduleName} && cvs -d \${vcsroot} co ".($conftag eq 'HEAD' ? '-A' : '-r ${tag}')." $cvs_prefix{$subsys}.$subsys.$module"; + $cmd{checkout} = "cvs -d \${vcsroot} co -d \${moduleName} ".($conftag eq 'HEAD' ? '-A' : '-r ${tag}')." $cvs_prefix{$subsys}.$subsys.$module 2>/dev/null"; #$cmd{checkout} = "(test -d \${moduleName}/.git && (cd \${moduleName}; git pull) || git clone http://scientific.zcu.cz/git/jra1mw.git \${moduleName})"; #$cmd{checkout} .= " && (cd \${moduleName}; git checkout ${tag})" unless ($conftag =~ /HEAD/); - $cmd{tag} = "cd \${moduleName} && cvs -d \${vcsroot} tag -R \${tag} $cvs_prefix{$subsys}.$subsys.$module"; + $cmd{tag} = "cvs -d \${vcsroot} tag -R \${tag} ${moduleName}"; if ($subsys eq 'gridsite') { $cmd{tag} = 'None';