Update define.sh
This commit is contained in:
parent
7777c17c2a
commit
4b1594d005
1 changed files with 2 additions and 3 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue