mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 10:48:53 +00:00
Ports: Follow symlinks while discovering whether a port has patches
This enables us to use `./package.sh dev` with LLVM and GCC.
This commit is contained in:
parent
4d29489705
commit
72c059535e
Notes:
sideshowbarker
2024-07-17 06:52:53 +09:00
Author: https://github.com/timschumi
Commit: 72c059535e
Pull-request: https://github.com/SerenityOS/serenity/pull/15268
Reviewed-by: https://github.com/alimpfard ✅
Reviewed-by: https://github.com/gmta
1 changed files with 1 additions and 1 deletions
|
@ -727,7 +727,7 @@ do_dev() {
|
|||
git config receive.denyCurrentBranch ignore
|
||||
# Import patches as commits, or ask the user to commit them
|
||||
# if they're not git patches already.
|
||||
if [ -d "${PORT_META_DIR}/patches" ] && [ -n "$(find "${PORT_META_DIR}/patches" -maxdepth 1 -name '*.patch' -print -quit)" ]; then
|
||||
if [ -d "${PORT_META_DIR}/patches" ] && [ -n "$(find -L "${PORT_META_DIR}/patches" -maxdepth 1 -name '*.patch' -print -quit)" ]; then
|
||||
for patch in "${PORT_META_DIR}"/patches/*.patch; do
|
||||
if [ -f "$workdir/.$(basename $patch).applied" ]; then
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue