20 lines
No EOL
520 B
Bash
20 lines
No EOL
520 B
Bash
#!/bin/bash
|
|
|
|
|
|
echo -ne "AGENT=$AGENT" > .env
|
|
|
|
echo -ne "\nPUB=$PUB" >> .env
|
|
|
|
echo -ne "\nFSAGENT=$FSAGENT" >> .env
|
|
|
|
mkdir -pv LinuxGeneralCompiler/FinalStage/secret
|
|
cp "$PRIVKEY" LinuxGeneralCompiler/FinalStage/secret/id_rsa
|
|
cp "$PUBKEY" LinuxGeneralCompiler/FinalStage/secret/id_rsa.pub
|
|
cp "$GRADLEPROP" LinuxGeneralCompiler/FinalStage/secret/gradle.properties
|
|
|
|
cp -rv LinuxGeneralCompiler/FinalStage/secret ArchAgent/secret
|
|
|
|
echo -ne "\nARCHAGENT=$ARCHAGENT" >> .env
|
|
|
|
echo -ne "\nDINDAGENT=" >> .env
|
|
echo "NAN" >> .env |