remove output

This commit is contained in:
Jakobus Schürz 2020-10-17 03:09:51 +02:00
parent f7798631ac
commit b6db22c888

View file

@ -1,12 +1,15 @@
#!/bin/bash
echo "copy files to ${1}"
#cd ${HOME}/git/bmi/at.gv.bmi.pvp.settings && echo scp "$(ls target/at.gv.bmi.pvp.settings*|sort -t"." -k 1,1 -k 2,2 -k 3,3|tail -n1)" ${1}:/tmp
cd ${HOME}/git/bmi/at.gv.bmi.pvp.settings && scp "$(ls target/at.gv.bmi.pvp.settings*|sort -t"." -k 1,1 -k 2,2 -k 3,3|tail -n1)" ${1}:/tmp
case $1 in
cnf*)
# cd ${HOME}/git/bmi/at.gv.bmi.confluence.pvp-authenticator && echo scp "$(ls target/at.gv.bmi.confluence.pvp*|sort -t"." -k 1,1 -k 2,2 -k 3,3|tail -n1)" ${1}:/tmp
cd ${HOME}/git/bmi/at.gv.bmi.confluence.pvp-authenticator && scp "$(ls target/at.gv.bmi.confluence.pvp*|sort -t"." -k 1,1 -k 2,2 -k 3,3|tail -n1)" ${1}:/tmp
;;
jra*)
# cd ${HOME}/git/bmi/pvp-authenticator && echo scp "$(ls target/at.gv.bmi.jira.pvp*|sort -t"." -k 1,1 -k 2,2 -k 3,3|tail -n1)" ${1}:/tmp
cd ${HOME}/git/bmi/pvp-authenticator && scp "$(ls target/at.gv.bmi.jira.pvp*|sort -t"." -k 1,1 -k 2,2 -k 3,3|tail -n1)" ${1}:/tmp
;;
esac