From 11131bf0dce5752db3b203f6e2bb1069265bd888 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Sat, 12 Mar 2011 13:58:00 +0000 Subject: [PATCH] Use the return code of the configure script (moving the chmod workaround before the script). --- org.glite.lb/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- 1.8.2.3