From ec1a6f11d90540ac2e152b02157a742829a7fe08 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 8 Mar 2016 20:10:59 +0100 Subject: [PATCH] packer: use [ instead of [[. --- srcpkgs/packer/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/packer/template b/srcpkgs/packer/template index fbf784dd9c2..00be0b3915b 100644 --- a/srcpkgs/packer/template +++ b/srcpkgs/packer/template @@ -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)