summaryrefslogtreecommitdiff
path: root/.ci/copyfinal.sh
blob: 562a735f554e952bf34389b2927b2b290cf72993 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

echo mkdir -p "./bin/${installname}"
mkdir -p "./bin/${installname}"

echo cp -r "/usr/local/spm/bin/${installname}" "./bin/"
cp -r "/usr/local/spm/bin/${installname}" "./bin/"

echo "/usr/local/spm/env/*.sh ./bin/${installname}/bin/"
cp /usr/local/spm/env/*.sh "./bin/${installname}/bin/" || exit 1
echo "cp /usr/local/spm/env/run${installname}.sh ./bin/${installname}/bin/runenv.sh"
cp "/usr/local/spm/env/run${installname}.sh" "./bin/${installname}/bin/runenv.sh" || exit 1