determine directory of overlay files by name rather than by slash (#809)

pull/810/head
Paul Philippov 2023-05-20 14:51:18 -04:00 committed by GitHub
parent 31ef77268f
commit 484e0b12c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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