packer: use [ instead of [[.
This commit is contained in:
parent
42cf3b35c4
commit
ec1a6f11d9
|
@ -22,7 +22,7 @@ post_build() {
|
|||
do_install() {
|
||||
find "${GOPATH}/bin" -type f -executable | while read line
|
||||
do
|
||||
if [[ $(basename $line) == packer ]]; then
|
||||
if [ "$(basename $line)" = packer ]; then
|
||||
vbin $line
|
||||
else
|
||||
vbin $line packer-$(basename $line)
|
||||
|
|
Loading…
Reference in New Issue