From: František Dvořák Date: Sat, 12 Mar 2011 13:58:00 +0000 (+0000) Subject: Use the return code of the configure script (moving the chmod workaround before the... X-Git-Tag: glite-lbjp-common-db_R_3_0_2_1~22 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=11131bf0dce5752db3b203f6e2bb1069265bd888;p=jra1mw.git Use the return code of the configure script (moving the chmod workaround before the script). --- diff --git a/org.glite.lb/configure b/org.glite.lb/configure index bbc6062..7cb4395 100755 --- a/org.glite.lb/configure +++ b/org.glite.lb/configure @@ -1040,7 +1040,7 @@ sub mode_etics { $cmd{packaging} = "make rpm package=".$confprefix."$subsys-myproxy-config"; } else { - $cmd{configure} = "cd $confdir && /usr/bin/perl $cvs_prefix{$subsys}.$subsys.$module/configure $project{flavours} --root=\${prefix} --prefix=$project{local_prefix} --stage=\${stageDir} --sysroot=\${package.prefix} --libdir=\${libdir} --project=\${projectName} --module $subsys.$module @copts; chmod +x \${stageDir}$project{local_prefix}/sbin/glite-lb-at3 2>/dev/null"; + $cmd{configure} = "chmod +x \${stageDir}$project{local_prefix}/sbin/glite-lb-at3 2>/dev/null; cd $confdir && /usr/bin/perl $cvs_prefix{$subsys}.$subsys.$module/configure $project{flavours} --root=\${prefix} --prefix=$project{local_prefix} --stage=\${stageDir} --sysroot=\${package.prefix} --libdir=\${libdir} --project=\${projectName} --module $subsys.$module @copts"; $cmd{compile} = 'make'; $cmd{test} = 'make check'; $cmd{install} = 'make install';