Commit 1b58957a authored by Ludovic Desroches's avatar Ludovic Desroches Committed by Peter Korsgaard
Browse files

apply-patches.sh: directories are no more considered as overlays



When a directory is found in patchdir, it is skipped.

Signed-off-by: default avatarLudovic Desroches <ludovic.desroches@atmel.com>
Tested-by: default avatarLudovic Desroches <ludovic.desroches@atmel.com>
with an armadeus_apf9328_defconfig build
Acked-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 1b671d47
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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"; ;;