Author: mladen.turk(a)jboss.com
Date: 2008-02-01 06:47:47 -0500 (Fri, 01 Feb 2008)
New Revision: 1325
Modified:
trunk/build/unix/buildsrc.rhel-httpd.sh
Log:
Use svn export insted directory traversal logic for copying our additions to httpd-2.2
sources
Modified: trunk/build/unix/buildsrc.rhel-httpd.sh
===================================================================
--- trunk/build/unix/buildsrc.rhel-httpd.sh 2008-02-01 11:35:33 UTC (rev 1324)
+++ trunk/build/unix/buildsrc.rhel-httpd.sh 2008-02-01 11:47:47 UTC (rev 1325)
@@ -106,14 +106,9 @@
# Copy the windows NMAKE files (and additional stuff).
dirnmake=${build_top}/../../httpd/httpd-2.2/
if [ -d ${dirnmake} ]; then
- for file in `(cd ${dirnmake}; find . -type f | grep -v .svn | sed 's:./::')`
- do
- dir=`dirname $file`
- echo "copying ${dirnmake}/$file to ${dirsources}/${dir}"
- cp -p ${dirnmake}/$file ${dirsources}/${dir}
- done
+ svn export --force ${dirnmake} ${dirsources}
else
- echo "Failed can't find makefiles for NMAKE"
+ echo "Cannot find package sources in ${dirnmake}"
exit 1
fi
Show replies by date