summaryrefslogtreecommitdiff
path: root/tools/ci/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/scripts')
-rwxr-xr-xtools/ci/scripts/copylib.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/ci/scripts/copylib.sh b/tools/ci/scripts/copylib.sh
new file mode 100755
index 000000000..b50ab4832
--- /dev/null
+++ b/tools/ci/scripts/copylib.sh
@@ -0,0 +1,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