summaryrefslogtreecommitdiff
path: root/java/kotlin.go
diff options
context:
space:
mode:
author Jerome Gaillard <jgaillard@google.com> 2021-10-04 15:28:07 +0000
committer Jerome Gaillard <jgaillard@google.com> 2021-10-04 15:29:06 +0000
commit03c64c87a41ccc28721683cbac51fdbc1519ff02 (patch)
treea9bd104eaf0f3cbf48bf93f5f5db2267809d889d /java/kotlin.go
parent9c03ef7790945f34b661d20a94a265a212566a14 (diff)
Fix script for package check to work on macOS
The behaviour of shell parameter expansion on linux and macOS is different: - on linux "\/" in the replaced string is interpreted as simply "/" - on macOS it is interpreted as the full string "\/" For example, "android.package.example" would be changed to: - "android/package/example" on linux - "android\/package\/example" on macOS The character / is not a special character for pattern matching in bash, so it doesn't need to be escaped. Hence using / instead of \/ in the replaced string works on both linux and macOS. Change-Id: Id6a5cf32afc53d5ffd989c0ac8aa0b9e0fcbaf82 Fixes: 201947033
Diffstat (limited to 'java/kotlin.go')
0 files changed, 0 insertions, 0 deletions