From 2ed51b2d655305bbebd2275217efa3512acc6f50 Mon Sep 17 00:00:00 2001 From: Matthew Wall Date: Fri, 1 Dec 2023 10:05:10 -0700 Subject: [PATCH] fix: prebuild.sh files not working with eval --- scripts/eas-build-pre-install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/eas-build-pre-install.sh b/scripts/eas-build-pre-install.sh index 254ff975a18..a91b125c272 100755 --- a/scripts/eas-build-pre-install.sh +++ b/scripts/eas-build-pre-install.sh @@ -2,7 +2,6 @@ echo "PRE INSTALLING" - if [ -n "$RAINBOW_SCRIPTS_INTERNALS" ]; then git clone https://$RAINBOW_SCRIPTS_TOKEN$RAINBOW_SCRIPTS_INTERNALS cd rainbow-scripts @@ -11,12 +10,12 @@ if [ -n "$RAINBOW_SCRIPTS_INTERNALS" ]; then fi if [ "$EAS_BUILD_PLATFORM" = "ios" ]; then - eval $RAINBOW_SCRIPTS_APP_IOS_PREBUILD_HOOK + bash $RAINBOW_SCRIPTS_APP_IOS_PREBUILD_HOOK; echo "✅ executed ios prebuild hook" fi if [ "$EAS_BUILD_PLATFORM" = "android" ]; then - eval $RAINBOW_SCRIPTS_APP_ANDROID_PREBUILD_HOOK > /dev/null 2>&1; + bash $RAINBOW_SCRIPTS_APP_ANDROID_PREBUILD_HOOK; echo "✅ executed android prebuild hook" fi