From 2fe4498d6d408e416d4e6970940ef52d269d202a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 6 Oct 2017 23:37:09 +0300 Subject: Add copylib script for copy library from gitlab artifact. [skip ci] --- tools/ci/scripts/copylib.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 tools/ci/scripts/copylib.sh (limited to 'tools/ci') 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 -- cgit v1.2.3-70-g09d2