blob: bfcbeb78ef79b74d9defe36f8819de1fd2b9f378 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/bash
mkdir /usr/local/spm
cp -r . /usr/local/spm
export dir123=$(pwd)
cd /usr/local/spm
export installname="${1}_${2}"
export envname="env"
./.ci/run.sh ./getsrc.sh "$1" || exit 1
./.ci/run.sh ./build.sh "$1" || exit 1
echo mkdir "${dir123}/bin/${installname}"
mkdir "${dir123}/bin/${installname}"
echo cp -r "/usr/local/spm/bin/${installname}" "${dir123}/bin/"
cp -r "/usr/local/spm/bin/${installname}" "${dir123}/bin/"
echo "cp ./env/runenv.sh ${dir123}/bin/${installname}/"
cp "./env/runenv.sh" "${dir123}/bin/${installname}/" || exit 1
|