mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-09-13 09:17:20 -07:00
patchinstall.sh: Do not use 'readlink -f' to improve compatibility with macOS.
(cherry picked from commit 3a7c5ae711
)
This commit is contained in:
parent
d4aa71ae9d
commit
c0525850fc
@ -1715,7 +1715,7 @@ patchlist="/dev/null"
|
||||
backend="patch"
|
||||
|
||||
# Find location of patches
|
||||
patchdir="$(dirname "$(readlink -f "$0")")"
|
||||
patchdir="$(cd "$(dirname "$0")" && pwd)"
|
||||
if test ! -f "$patchdir/patchinstall.sh"; then
|
||||
if test -f ./patchinstall.sh; then
|
||||
patchdir="$(pwd)"
|
||||
|
@ -89,7 +89,7 @@ patchlist="/dev/null"
|
||||
backend="patch"
|
||||
|
||||
# Find location of patches
|
||||
patchdir="$(dirname "$(readlink -f "$0")")"
|
||||
patchdir="$(cd "$(dirname "$0")" && pwd)"
|
||||
if test ! -f "$patchdir/patchinstall.sh"; then
|
||||
if test -f ./patchinstall.sh; then
|
||||
patchdir="$(pwd)"
|
||||
|
Loading…
Reference in New Issue
Block a user