diff --git a/docs/ANDROID.md b/docs/ANDROID.md index 465ed7ed..31b5479b 100644 --- a/docs/ANDROID.md +++ b/docs/ANDROID.md @@ -34,7 +34,7 @@ This will print a path which needs to be stored in `REACT_NATIVE_OVERRIDE_HERMES This can be combined into a single line: ``` -export REACT_NATIVE_OVERRIDE_HERMES_DIR=`npx react-native-node-api vendor-hermes --silent` +export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent) ``` ## Cleaning your React Native build folders diff --git a/packages/host/android/build.gradle b/packages/host/android/build.gradle index 0eedddfb..f0a4a9b6 100644 --- a/packages/host/android/build.gradle +++ b/packages/host/android/build.gradle @@ -142,7 +142,7 @@ task checkHermesOverride { "React Native Node-API needs a custom version of Hermes with Node-API enabled.", "Run the following in your terminal, to clone Hermes and instruct React Native to use it:", "", - "export REACT_NATIVE_OVERRIDE_HERMES_DIR=`npx react-native-node-api vendor-hermes --silent --force`", + "export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent --force)", "", "And follow this guide to build React Native from source:", "https://reactnative.dev/contributing/how-to-build-from-source#update-your-project-to-build-from-source"