13 lines
451 B
Bash
13 lines
451 B
Bash
|
echo Contraseña:
|
||
|
read -s pas
|
||
|
qmake -makefile ClienteTFG.pro && make -j$(nproc)
|
||
|
echo $pas | sudo -S mv ClienteTFG /usr/bin
|
||
|
echo $pas | sudo -S chmod a+x /usr/bin/ClienteTFG
|
||
|
echo $pas | sudo -S echo "security=yes" >> /etc/clientRemoteBuilds/config
|
||
|
echo "write a port"
|
||
|
read port
|
||
|
echo $pas | sudo -S echo "port=$port" >> /etc/clientRemoteBuilds/config
|
||
|
echo "write a host"
|
||
|
read host
|
||
|
echo $pas | sudo -S echo "host=$host" >> /etc/clientRemoteBuilds/config
|