summaryrefslogtreecommitdiff
path: root/tools/ci/scripts/copylib.sh
blob: b50ab48329280187d07dcb31aa9b855bc8dda23b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

export libname="$1_$2"

rm -rf /usr/local/spm/bin/${libname}
mkdir -p /usr/local/spm/bin

cp -r ./bin /usr/local/spm/
ls /usr/local/spm/bin/${libname}
if [ "$?" != 0 ]; then
    echo "Library $1 $2 copy failed"
    exit 1
fi