mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
patchinstall.sh: Do not use 'readlink -f' to improve compatibility with macOS.
This commit is contained in:
parent
3fab2fbed2
commit
3a7c5ae711
@ -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