add sudo to install command. (#515) [skip ci]

sudo is required to move "$download_dir/bb" to "$PWD/bb"
This commit is contained in:
Gomotso Lilokoe 2020-07-28 10:42:21 +02:00 committed by GitHub
parent 01f2a94117
commit 64367e8f58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ To get an overview of babashka, you can watch this talk ([slides](https://speake
``` shellsession
$ curl -s https://raw.githubusercontent.com/borkdude/babashka/master/install -o install-babashka
$ chmod +x install-babashka && ./install-babashka
$ chmod +x install-babashka && sudo ./install-babashka
$ ls | bb -i '(filter #(-> % io/file .isDirectory) *input*)'
("doc" "resources" "sci" "script" "src" "target" "test")
bb took 4ms.