Increase script portability

Instead of presuming that bash is installed at /bin/bash, use `$PATH`.  Official [bash docker container](https://hub.docker.com/_/bash/) installs bash at `/usr/local/bin` and recommends the use of `env`
pull/3169/head
Tim H 7 years ago committed by GitHub
parent 5f53c55b52
commit 0645433048
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Copyright 2016 The Kubernetes Authors All rights reserved. # Copyright 2016 The Kubernetes Authors All rights reserved.
# #

Loading…
Cancel
Save