Author: jfrederic.clere(a)jboss.com
Date: 2014-09-03 10:41:41 -0400 (Wed, 03 Sep 2014)
New Revision: 3365
Modified:
trunk/build/unix/buildbin.mod_cluster.sh
Log:
on HPUX you can't overwrite .so files any if it is there
no need to copy.
Modified: trunk/build/unix/buildbin.mod_cluster.sh
===================================================================
--- trunk/build/unix/buildbin.mod_cluster.sh 2014-09-03 10:25:58 UTC (rev 3364)
+++ trunk/build/unix/buildbin.mod_cluster.sh 2014-09-03 14:41:41 UTC (rev 3365)
@@ -421,8 +421,12 @@
do
nfile=`echo $file | sed 's:\.sl:\.so:'`
cp -p $file ../../target/$nfile
- echo "Copying $file to
${RPM_BUILD_ROOT}/${BASEHTTPD}/lib/httpd/modules/$nfile"
- cp -p $file ${RPM_BUILD_ROOT}/${BASEHTTPD}/lib/httpd/modules/$nfile
+ if [ -f ${RPM_BUILD_ROOT}/${BASEHTTPD}/lib/httpd/modules/$nfile ]; then
+ echo "${RPM_BUILD_ROOT}/${BASEHTTPD}/lib/httpd/modules/$nfile already
there"
+ else
+ echo "Copying $file to
${RPM_BUILD_ROOT}/${BASEHTTPD}/lib/httpd/modules/$nfile"
+ cp -p $file ${RPM_BUILD_ROOT}/${BASEHTTPD}/lib/httpd/modules/$nfile
+ fi
done
) || exit 1
done
Show replies by date