Expand matching to include optional _program suffix

This commit is contained in:
Michael Vines 2018-12-05 08:46:45 -08:00
parent 15aef079e3
commit 8597701b0f
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ if [[ ! -d $installDir ]]; then
fi
for dir in "$SOLANA_ROOT"/programs/native/*; do
for program in echo "$SOLANA_ROOT"/target/"$variant"/deps/lib{,solana_}"$(basename "$dir")".{so,dylib,dll}; do
for program in echo "$SOLANA_ROOT"/target/"$variant"/deps/lib{,solana_}"$(basename "$dir")"{,_program}.{so,dylib,dll}; do
if [[ -f $program ]]; then
cp -v "$program" "$installDir"
fi