]> Cypherpunks repositories - gostls13.git/commitdiff
misc/ios: quote paths
authorCherry Zhang <cherryyz@google.com>
Sat, 12 Sep 2020 00:09:40 +0000 (20:09 -0400)
committerCherry Zhang <cherryyz@google.com>
Mon, 14 Sep 2020 18:28:23 +0000 (18:28 +0000)
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>

misc/ios/clangwrap.sh

index 5fdbb6db4acbf69b351dc25fb227252d9639d983..1d6dee28a83fe334b46be951b4a61948412b56a7 100755 (executable)
@@ -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 "$@"