Update define.sh

This commit is contained in:
Kroese 2025-04-09 07:58:37 +02:00 committed by GitHub
parent e264cc9f21
commit 020f13e320
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -768,7 +768,7 @@ addFolder() {
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 -print -quit)
[ -f "$file" ] && unix2dos -q "$file" [ -f "$file" ] && unix2dos -q "$file"
return 0 return 0