Skip to content

Commit

Permalink
Fix shellcheck warnings in Hermes build scripts
Browse files Browse the repository at this point in the history
Summary:
Fixes some shellcheck warnings that arose in D36295406 (ae28880) when the Hermes build scripts were copied over.

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D36321074

fbshipit-source-id: 0eae36a4f793daa0e12786ba7989d4eac6b2e256
  • Loading branch information
hramos authored and facebook-github-bot committed May 12, 2022
1 parent 58bc981 commit ce06214
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdks/hermes-engine/utils/build-apple-framework.sh
Expand Up @@ -90,9 +90,9 @@ function create_universal_framework {
done

mkdir universal
xcodebuild -create-xcframework $args -output "universal/hermes.xcframework"
xcodebuild -create-xcframework "$args" -output "universal/hermes.xcframework"

for platform in $@; do
for platform in "$@"; do
rm -r "$platform"
done

Expand Down
1 change: 1 addition & 0 deletions sdks/hermes-engine/utils/build-ios-framework.sh
Expand Up @@ -4,6 +4,7 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# shellcheck source=xplat/js/react-native-github/sdks/hermes-engine/utils/build-apple-framework.sh
. ./utils/build-apple-framework.sh

if [ ! -d destroot/Library/Frameworks/universal/hermes.xcframework ]; then
Expand Down
2 changes: 2 additions & 0 deletions sdks/hermes-engine/utils/build-mac-framework.sh
Expand Up @@ -4,7 +4,9 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# shellcheck source=xplat/js/react-native-github/sdks/hermes-engine/utils/build-apple-framework.sh
. ./utils/build-apple-framework.sh

if [ ! -d destroot/Library/Frameworks/macosx/hermes.framework ]; then
mac_deployment_target=$(get_mac_deployment_target)

Expand Down

0 comments on commit ce06214

Please sign in to comment.