Fix for Github Action - don't use custom folder if it doesn't exists

Closes https://github.com/armbian/build/issues/6332
This commit is contained in:
Igor Pecovnik 2024-03-03 17:08:40 +01:00 committed by Igor
parent 92d79917ac
commit 2cd46aceb5
1 changed files with 1 additions and 2 deletions

View File

@ -143,8 +143,7 @@ runs:
# copy os userpatches and custom
mkdir -pv build/userpatches
rsync -av os/userpatches/. build/userpatches/
#[[ -d custom/userpatches ]] &&
rsync -av custom/userpatches/. build/userpatches/
[[ -d custom/userpatches ]] && rsync -av custom/userpatches/. build/userpatches/
- shell: bash
run: |