mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
Ports: Fix issue with the patches directory being a symlink
The path of the temporary directory should be an absolute path to account for the patches directory being a symlink like in the upcoming LLVM port update.
This commit is contained in:
parent
e4b7ce3324
commit
9a898df1cd
Notes:
sideshowbarker
2024-07-17 12:02:22 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/9a898df1cd Pull-request: https://github.com/SerenityOS/serenity/pull/13671 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/timschumi ✅
1 changed files with 3 additions and 3 deletions
|
@ -630,15 +630,15 @@ do_generate_patch_readme() {
|
|||
fi
|
||||
fi
|
||||
|
||||
rm -fr .patches.tmp
|
||||
mkdir .patches.tmp
|
||||
local tempdir="$(pwd)/.patches.tmp"
|
||||
rm -fr "$tempdir"
|
||||
mkdir "$tempdir"
|
||||
|
||||
echo "# Patches for $port on SerenityOS" > patches/ReadMe.md
|
||||
echo >> patches/ReadMe.md
|
||||
|
||||
pushd patches
|
||||
|
||||
local tempdir="../.patches.tmp"
|
||||
local count=0
|
||||
for patch in *.patch; do
|
||||
git mailinfo \
|
||||
|
|
Loading…
Reference in a new issue