Author: jfrederic.clere(a)jboss.com
Date: 2013-07-18 12:31:22 -0400 (Thu, 18 Jul 2013)
New Revision: 3134
Modified:
trunk/build/unix/util/ckeckdownload.sh
Log:
make sure the right patch is applied to the sources.
Modified: trunk/build/unix/util/ckeckdownload.sh
===================================================================
--- trunk/build/unix/util/ckeckdownload.sh 2013-07-18 16:23:09 UTC (rev 3133)
+++ trunk/build/unix/util/ckeckdownload.sh 2013-07-18 16:31:22 UTC (rev 3134)
@@ -54,20 +54,6 @@
return 0
}
-# Apply patch for the component
-# $1 directory of the component like apr-1.2.8
-applypatch()
-{
- DIR=$1
- if [ -f $build_top/../patch/$DIR.patch ];
- then
- (cd $DIR
- echo "util/ckeckdownload.sh function applypatch on $DIR"
- patch -tfs -p0 -i $build_top/../patch/$DIR.patch
- )
- fi
-}
-
# Check and download
# $1 directory of the checkout directory
# $2 url for the download
@@ -83,7 +69,7 @@
if [ $? -ne 0 ]; then
return 1
fi
- applypatch $src_dir
+ $build_top/util/applypatch.sh $build_top $src_dir false
fi
cp -rp ${src_dir} ${package_src_dir}/srclib
cd $build_top
Show replies by thread