Skip to content

Commit

Permalink
fix: shasum on ci
Browse files Browse the repository at this point in the history
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
  • Loading branch information
gfanton committed Jun 11, 2021
1 parent 75ae4f7 commit 6135c3e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/gen.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/ios/glog/ios-configure-glog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fi
curl -sSL --fail -o config.sub 'https://gist.githubusercontent.com/gfanton/f7dd19c299bef99d323cb08c650bb02e/raw/2f5a76ffd38cdac678adf6a9f12600e9d16e7345/config.darwin-arm-patch.sub'

# check shasum of the file
echo 'a743811464b00f3e2372f5368035fdc38f322a3a config.sub' | sha1sum -c || exit 1
echo 'a743811464b00f3e2372f5368035fdc38f322a3a config.sub' | shasum -a 1 -c || exit 1

./configure --host arm-apple-darwin

Expand Down
4 changes: 2 additions & 2 deletions js/patches/react-native+0.63.4.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/node_modules/react-native/scripts/ios-configure-glog.sh b/node_modules/react-native/scripts/ios-configure-glog.sh
index 73a892c..9763875 100755
index 73a892c..de3e9cf 100755
--- a/node_modules/react-native/scripts/ios-configure-glog.sh
+++ b/node_modules/react-native/scripts/ios-configure-glog.sh
@@ -28,6 +28,13 @@ if [ -h "test-driver" ]; then
Expand All @@ -11,7 +11,7 @@ index 73a892c..9763875 100755
+curl -sSL --fail -o config.sub 'https://gist.githubusercontent.com/gfanton/f7dd19c299bef99d323cb08c650bb02e/raw/2f5a76ffd38cdac678adf6a9f12600e9d16e7345/config.darwin-arm-patch.sub'
+
+# check shasum of the file
+echo 'a743811464b00f3e2372f5368035fdc38f322a3a config.sub' | sha1sum -c || exit 1
+echo 'a743811464b00f3e2372f5368035fdc38f322a3a config.sub' | shasum -a 1 -c || exit 1
+
./configure --host arm-apple-darwin

Expand Down

0 comments on commit 6135c3e

Please sign in to comment.