We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b262759 commit e8b5125Copy full SHA for e8b5125
oss_scripts/run_build.sh
@@ -2,8 +2,9 @@
2
set -e # fail and exit on any command erroring
3
set -x # print evaluated commands
4
5
-osname="$(uname -s)"
6
-if [[ $osname == "Darwin" ]]; then
+osname="$(uname -s | tr 'A-Z' 'a-z')"
+
7
+if [[ $osname == "darwin" ]]; then
8
# Update to macos extensions
9
sed -i '' 's/".so"/".dylib"/' tensorflow_text/tftext.bzl
10
perl -pi -e "s/(load_library.load_op_library.*)\\.so'/\$1.dylib'/" $(find tensorflow_text/python -type f)
0 commit comments