mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05: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
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…
Add table
Reference in a new issue