mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
packer: use [ instead of [[.
This commit is contained in:
parent
42cf3b35c4
commit
ec1a6f11d9
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ post_build() {
|
||||||
do_install() {
|
do_install() {
|
||||||
find "${GOPATH}/bin" -type f -executable | while read line
|
find "${GOPATH}/bin" -type f -executable | while read line
|
||||||
do
|
do
|
||||||
if [[ $(basename $line) == packer ]]; then
|
if [ "$(basename $line)" = packer ]; then
|
||||||
vbin $line
|
vbin $line
|
||||||
else
|
else
|
||||||
vbin $line packer-$(basename $line)
|
vbin $line packer-$(basename $line)
|
||||||
|
|
Loading…
Add table
Reference in a new issue