summaryrefslogtreecommitdiff
path: root/android/expand.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/expand.go')
-rw-r--r--android/expand.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/expand.go b/android/expand.go
index 101318108..527c4ac6d 100644
--- a/android/expand.go
+++ b/android/expand.go
@@ -57,7 +57,7 @@ func getMapping(s string, mapping func(string) (string, error)) (string, int, er
}
return "", len(s), fmt.Errorf("missing )")
case '$':
- return s[0:1], 1, nil
+ return "$$", 1, nil
default:
i := strings.IndexFunc(s, unicode.IsSpace)
if i == 0 {