mirror of https://github.com/OpenIPC/firmware.git
determine directory of overlay files by name rather than by slash (#809)
parent
31ef77268f
commit
484e0b12c5
|
@ -9,7 +9,7 @@ function apply_patch() {
|
|||
SRC=$2
|
||||
|
||||
if [[ -d $SRC ]]; then
|
||||
if [[ ${SRC:${#SRC}-1} != '/' ]]; then
|
||||
if [[ "overlay" == $(basename "$SRC") ]]; then
|
||||
log Apply \"$SRC\" as overlay directory
|
||||
cp -r $SRC/* $DST/
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue