mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:17:35 +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
1 changed files with 3 additions and 3 deletions
|
@ -630,15 +630,15 @@ do_generate_patch_readme() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -fr .patches.tmp
|
local tempdir="$(pwd)/.patches.tmp"
|
||||||
mkdir .patches.tmp
|
rm -fr "$tempdir"
|
||||||
|
mkdir "$tempdir"
|
||||||
|
|
||||||
echo "# Patches for $port on SerenityOS" > patches/ReadMe.md
|
echo "# Patches for $port on SerenityOS" > patches/ReadMe.md
|
||||||
echo >> patches/ReadMe.md
|
echo >> patches/ReadMe.md
|
||||||
|
|
||||||
pushd patches
|
pushd patches
|
||||||
|
|
||||||
local tempdir="../.patches.tmp"
|
|
||||||
local count=0
|
local count=0
|
||||||
for patch in *.patch; do
|
for patch in *.patch; do
|
||||||
git mailinfo \
|
git mailinfo \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue