Update define.sh

This commit is contained in:
Kroese 2024-10-14 13:50:05 +02:00 committed by GitHub
parent 7777c17c2a
commit 4b1594d005
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -733,9 +733,8 @@ addFolder() {
info "$msg" && html "$msg" info "$msg" && html "$msg"
local dest="$src/\$OEM\$/\$1/OEM" local dest="$src/\$OEM\$/\$1/OEM"
mkdir -p "$dest" mkdir -p "$dest" || return 1
cp -Lr "$folder/." "$dest" || return 1
! cp -Lr "$folder/." "$dest" && return 1
local file local file
file=$(find "$dest" -maxdepth 1 -type f -iname install.bat | head -n 1) file=$(find "$dest" -maxdepth 1 -type f -iname install.bat | head -n 1)