mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 13:16:35 +00:00
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 <ludovic.desroches@atmel.com> Tested-by: Ludovic Desroches <ludovic.desroches@atmel.com> with an armadeus_apf9328_defconfig build Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
1b671d477b
commit
1b58957a96
@ -30,10 +30,7 @@ for i in `cd ${patchdir}; ls -d ${patchpattern} 2> /dev/null` ; do
|
|||||||
apply="patch -g0 -p1 -E -d"
|
apply="patch -g0 -p1 -E -d"
|
||||||
uncomp_parm=""
|
uncomp_parm=""
|
||||||
if [ -d "${patchdir}/$i" ] ; then
|
if [ -d "${patchdir}/$i" ] ; then
|
||||||
type="directory overlay"
|
echo "${patchdir}/$i skipped"
|
||||||
uncomp="tar cf - --exclude=.svn --no-anchored -C"
|
|
||||||
uncomp_parm="."
|
|
||||||
apply="tar xvf - -C"
|
|
||||||
else case "$i" in
|
else case "$i" in
|
||||||
*.gz)
|
*.gz)
|
||||||
type="gzip"; uncomp="gunzip -dc"; ;;
|
type="gzip"; uncomp="gunzip -dc"; ;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user