Expand matching to include optional _program suffix
This commit is contained in:
parent
15aef079e3
commit
8597701b0f
|
@ -21,7 +21,7 @@ if [[ ! -d $installDir ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for dir in "$SOLANA_ROOT"/programs/native/*; do
|
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
|
if [[ -f $program ]]; then
|
||||||
cp -v "$program" "$installDir"
|
cp -v "$program" "$installDir"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue