]> Cypherpunks repositories - gostls13.git/commitdiff
misc/ios: remove note from output of detect.go
authorElias Naur <elias.naur@gmail.com>
Wed, 24 Oct 2018 13:27:35 +0000 (15:27 +0200)
committerElias Naur <elias.naur@gmail.com>
Wed, 24 Oct 2018 15:33:31 +0000 (15:33 +0000)
If no GOIOS_DEV_ID is set, iostest.bash will eval the output of
detect.go. Prepend the note output by detect.go with # to make
the shell ignore it.

Went undetected for so long because the iOS builders usually run
with GOIOS_DEV_ID set.

Change-Id: I308eac94803851620ca91593f9a1aef79825187f
Reviewed-on: https://go-review.googlesource.com/c/144109
Run-TryBot: Elias Naur <elias.naur@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
misc/ios/detect.go

index 2594185c11e86832407ba1783f0eb47a8e1f9f2b..1d47e47c860972135abde9f34369fe891e7f6b0c 100644 (file)
@@ -33,9 +33,9 @@ func main() {
                fail("did not find mobile provision matching device udids %q", udids)
        }
 
-       fmt.Println("Available provisioning profiles below.")
-       fmt.Println("NOTE: Any existing app on the device with the app id specified by GOIOS_APP_ID")
-       fmt.Println("will be overwritten when running Go programs.")
+       fmt.Println("Available provisioning profiles below.")
+       fmt.Println("NOTE: Any existing app on the device with the app id specified by GOIOS_APP_ID")
+       fmt.Println("will be overwritten when running Go programs.")
        for _, mp := range mps {
                fmt.Println()
                f, err := ioutil.TempFile("", "go_ios_detect_")