mirror of
https://github.com/dani-garcia/bw_web_builds.git
synced 2024-10-31 06:44:47 +03:00
Merge pull request #152 from SuperSandro2000/patch-1
Fix applying latest patch if patches is a symlink
This commit is contained in:
commit
b92f6abc61
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ if [[ -z ${PATCH_NAME} ]]; then
|
|||
else
|
||||
echo "No exact patch file not found, using latest"
|
||||
# If not, use the latest one
|
||||
PATCH_NAME="$(find ../patches -type f -print0 | xargs -0 basename -a | sort -V | tail -n1)"
|
||||
PATCH_NAME="$(find ../patches/ -type f -print0 | xargs -0 basename -a | sort -V | tail -n1)"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue