packer: use [ instead of [[.

This commit is contained in:
Christian Neukirchen 2016-03-08 20:10:59 +01:00
parent 42cf3b35c4
commit ec1a6f11d9
1 changed files with 1 additions and 1 deletions

View File

@ -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)