aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2020-09-11 20:09:40 -0400
committerCherry Zhang <cherryyz@google.com>2020-09-14 18:28:23 +0000
commitc0c396bd6ad2aea40f7f302711c8b89e20feb371 (patch)
tree9e8ad0fdd85495d8a38964b19174141ef25df87b /misc
parent86dbeefe1f2770daad3c8d8b46a8b7f21b2c69e1 (diff)
downloadgo-c0c396bd6ad2aea40f7f302711c8b89e20feb371.tar.gz
go-c0c396bd6ad2aea40f7f302711c8b89e20feb371.zip
misc/ios: quote paths
The paths may contain spaces. Quote them. Change-Id: I1f67085a1e7c40f60282c2fea7104fb44a01e310 Reviewed-on: https://go-review.googlesource.com/c/go/+/254739 Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Trust: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/ios/clangwrap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ios/clangwrap.sh b/misc/ios/clangwrap.sh
index 5fdbb6db4a..1d6dee28a8 100755
--- a/misc/ios/clangwrap.sh
+++ b/misc/ios/clangwrap.sh
@@ -15,4 +15,4 @@ else
exit 1
fi
-exec $CLANG -arch $CLANGARCH -isysroot $SDK_PATH -mios-version-min=10.0 "$@"
+exec "$CLANG" -arch $CLANGARCH -isysroot "$SDK_PATH" -mios-version-min=10.0 "$@"