From 1b58957a9637d3b3d1ae13ec26096d737fdd1a45 Mon Sep 17 00:00:00 2001 From: Ludovic Desroches Date: Wed, 14 Mar 2012 16:33:55 +0100 Subject: apply-patches.sh: directories are no more considered as overlays When a directory is found in patchdir, it is skipped. Signed-off-by: Ludovic Desroches Tested-by: Ludovic Desroches with an armadeus_apf9328_defconfig build Acked-by: Thomas Petazzoni Tested-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- support/scripts/apply-patches.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'support') diff --git a/support/scripts/apply-patches.sh b/support/scripts/apply-patches.sh index c741a6320..3d655f144 100755 --- a/support/scripts/apply-patches.sh +++ b/support/scripts/apply-patches.sh @@ -30,10 +30,7 @@ for i in `cd ${patchdir}; ls -d ${patchpattern} 2> /dev/null` ; do apply="patch -g0 -p1 -E -d" uncomp_parm="" if [ -d "${patchdir}/$i" ] ; then - type="directory overlay" - uncomp="tar cf - --exclude=.svn --no-anchored -C" - uncomp_parm="." - apply="tar xvf - -C" + echo "${patchdir}/$i skipped" else case "$i" in *.gz) type="gzip"; uncomp="gunzip -dc"; ;; -- cgit v1.2.3