summaryrefslogtreecommitdiff
path: root/.ci/copyfinal.sh
blob: 0e1fa55ec2cb37e8be8afb9d0038b67a76d20f05 (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}/"
cp /usr/local/spm/env/*.sh "./bin/${installname}/" || exit 1
echo "cp /usr/local/spm/env/run${installname}.sh ./bin/${installname}/runenv.sh"
cp "/usr/local/spm/env/run${installname}.sh" "./bin/${installname}/runenv.sh" || exit 1