Author: jfrederic.clere(a)jboss.com
Date: 2013-06-13 06:28:41 -0400 (Thu, 13 Jun 2013)
New Revision: 3105
Modified:
trunk/build/unix/build.sh
Log:
Log the internal apply (broken).
Modified: trunk/build/unix/build.sh
===================================================================
--- trunk/build/unix/build.sh 2013-06-13 09:59:33 UTC (rev 3104)
+++ trunk/build/unix/build.sh 2013-06-13 10:28:41 UTC (rev 3105)
@@ -1165,6 +1165,7 @@
isrhel=$2
basefilename=`basename $DIR`
filename=$basefilename.patch
+ echo "function applypatch for ${DIR}"
if $isrhel; then
filename=$basefilename.rhel.patch
else
@@ -1176,12 +1177,15 @@
fi
fi
fi
+ echo "function applypatch patch file could be $build_top/../patch/$ilename"
if [ -f $build_top/../patch/$ilename ]; then
(cd $DIR
echo "Applying patch $build_top/../patch/$filename in $DIR"
$patch -tf -p0 -i $build_top/../patch/$filename
) || return 1
+ else
+ echo "function applypatch no patch for ${DIR}"
fi
}
@@ -1197,6 +1201,7 @@
src_dir=$1-$2
src_url=$3
src_url_back=$4
+ echo "Downloading and patching for ${src_dir}"
cd $build_cache_dir
if [ ! -d ${src_dir} ]; then
downloadtaredsrc $src_url $src_url_back
@@ -1212,6 +1217,7 @@
mkdir -p ${package_src_dir}/srclib/common
cp ${build_top}/../../srclib/common/* ${package_src_dir}/srclib/common
cd $build_top
+ echo "Downloading and patching for ${src_dir} done"
return 0
}
Show replies by date