From 6f7b05efdf544553382b6b6c26016cc5bc34ec77 Mon Sep 17 00:00:00 2001 From: Dmitry Minkovsky Date: Wed, 6 Jul 2022 13:23:07 -0400 Subject: [PATCH] Use readlink instead of realpath in packager.sh --- scripts/packager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/packager.sh b/scripts/packager.sh index b9f90160f1aec8..acb1581257863f 100755 --- a/scripts/packager.sh +++ b/scripts/packager.sh @@ -5,7 +5,7 @@ # LICENSE file in the root directory of this source tree. # scripts directory -THIS_DIR=$(cd -P "$(dirname "$(realpath "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd) +THIS_DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd) REACT_NATIVE_ROOT="$THIS_DIR/.." # Application root directory - General use case: react-native is a dependency PROJECT_ROOT="$THIS_DIR/../../.."