From eeecd5cdfbf3e3d28e7e02866140df28225323f5 Mon Sep 17 00:00:00 2001 From: csmartdalton Date: Sat, 16 Sep 2023 02:24:01 +0000 Subject: [PATCH] Don't use realpath in the workflows realpath isn't on some of the mac runners Diffs= b4e2d26ea Don't use realpath in the workflows (#6000) Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com> --- .rive_head | 2 +- scripts/strip_static_lib.sh | 2 +- scripts/strip_static_lib_fat.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.rive_head b/.rive_head index c844117..b267d47 100644 --- a/.rive_head +++ b/.rive_head @@ -1 +1 @@ -42f39343647f68371989628c3c24da8f2ba31171 +b4e2d26ea7cc27005a6d218b205d0d837b837cbc diff --git a/scripts/strip_static_lib.sh b/scripts/strip_static_lib.sh index 7fb34aa..a8b325f 100755 --- a/scripts/strip_static_lib.sh +++ b/scripts/strip_static_lib.sh @@ -18,7 +18,7 @@ if [ -d $TMP_DIR ]; then fi BASENAME=${1##*/} -LIB=$(realpath $1) +LIB=$( cd "$(dirname "$1")" ; pwd -P )/$BASENAME mkdir $TMP_DIR cp $LIB $TMP_DIR diff --git a/scripts/strip_static_lib_fat.sh b/scripts/strip_static_lib_fat.sh index 3e4bffc..2efe6ee 100755 --- a/scripts/strip_static_lib_fat.sh +++ b/scripts/strip_static_lib_fat.sh @@ -6,7 +6,7 @@ SCRIPT_DIR=$(dirname $path) TMP_DIR="$SCRIPT_DIR/strip_static_lib_fat_tmp" BASENAME=${1##*/} -LIB=$(realpath $1) +LIB=$( cd "$(dirname "$1")" ; pwd -P )/$BASENAME shift if [ -d $TMP_DIR ]; then