Fix failing window build on master on travis (#12271)

* Fix failing window build on master on travis

* Fix shellcheck
This commit is contained in:
Ryo Onodera 2020-09-16 17:46:33 +09:00 committed by GitHub
parent 5517d39dc4
commit bb9c04895b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -123,7 +123,11 @@ fi
(
set -x
cp -fv target/$buildVariant/deps/libsolana*program.* "$installDir/bin/deps"
# deps dir can be empty
shopt -s nullglob
for dep in target/"$buildVariant"/deps/libsolana*program.*; do
cp -fv "$dep" "$installDir/bin/deps"
done
)
echo "Done after $SECONDS seconds"