Author: jfrederic.clere(a)jboss.com
Date: 2008-02-05 12:05:08 -0500 (Tue, 05 Feb 2008)
New Revision: 1366
Modified:
trunk/build/unix/util/buildrhelsrc.sh
Log:
Arrange the patch logic.
Modified: trunk/build/unix/util/buildrhelsrc.sh
===================================================================
--- trunk/build/unix/util/buildrhelsrc.sh 2008-02-05 12:53:53 UTC (rev 1365)
+++ trunk/build/unix/util/buildrhelsrc.sh 2008-02-05 17:05:08 UTC (rev 1366)
@@ -151,10 +151,11 @@
if [ -z "${remove_list}" ]; then
echo "applying all the rhel patches"
else
- echo "applying only some of the rhel patches"
+ echo "Not applying the following rhel patches: ${remove_list}"
for patch in `echo "$remove_list"`
do
- cat ${WHERE}/patch.sh | grep -v ${patch} > ${WHERE}/patch.sh
+ cat ${WHERE}/patch.sh | grep -v ${patch} > ${WHERE}/patch.${compo}.sh
+ mv ${WHERE}/patch.${compo}.sh ${WHERE}/patch.sh
done
fi
echo "Applying the rhel patches to ${dirsources}"
Show replies by date