mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:07:34 +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
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