mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 06:45:49 +00:00
added sudo to script
This commit is contained in:
parent
9731ff7a67
commit
0f96483a3a
1 changed files with 3 additions and 3 deletions
|
@ -15,8 +15,8 @@ echo "curl \"http://192.168.0.18:8081/artifactory/libs-snapshot-local/org/spring
|
||||||
paste -d '' command version > firsthalf
|
paste -d '' command version > firsthalf
|
||||||
echo "\" -o /usr/share/tomcat/webapps/petclinic.war" > secondhalf
|
echo "\" -o /usr/share/tomcat/webapps/petclinic.war" > secondhalf
|
||||||
paste -d '' firsthalf secondhalf > fullcmd
|
paste -d '' firsthalf secondhalf > fullcmd
|
||||||
chmod 755 fullcmd
|
sudo chmod 755 fullcmd
|
||||||
./fullcmd
|
sudo ./fullcmd
|
||||||
service tomcat restart
|
sudo service tomcat restart
|
||||||
#rm -f command firsthalf fullcmd maven-metadata.xml secondhalf version
|
#rm -f command firsthalf fullcmd maven-metadata.xml secondhalf version
|
||||||
rm -f command firsthalf maven-metadata.xml secondhalf version
|
rm -f command firsthalf maven-metadata.xml secondhalf version
|
||||||
|
|
Loading…
Reference in a new issue