Took the sudo back out again.

This commit is contained in:
Winston Li 2015-01-11 17:38:31 +00:00
parent 4eda2a81ba
commit 34185c7067
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ installDeps() {
} }
command -v mvn >/dev/null 2>&1 && command -v /usr/lib/jvm/java-7-openjdk-amd64/bin/javac >/dev/null 2>&1 || installDeps command -v mvn >/dev/null 2>&1 && command -v /usr/lib/jvm/java-7-openjdk-amd64/bin/javac >/dev/null 2>&1 || installDeps
sudo mvn package &&\ mvn package &&\
sudo cp ./target/writelatex-git-bridge-1.0-SNAPSHOT-jar-with-dependencies.jar /usr/local/sbin/writelatex-git-bridge.jar &&\ sudo cp ./target/writelatex-git-bridge-1.0-SNAPSHOT-jar-with-dependencies.jar /usr/local/sbin/writelatex-git-bridge.jar &&\
sudo cp ./bin/wlgb /etc/init.d/ &&\ sudo cp ./bin/wlgb /etc/init.d/ &&\
sudo mkdir -p /var/log/wlgb &&\ sudo mkdir -p /var/log/wlgb &&\

View file

@ -1,3 +1,3 @@
command -v mvn >/dev/null 2>&1 || sudo apt-get install maven command -v mvn >/dev/null 2>&1 || sudo apt-get install maven
sudo mvn package &&\ mvn package &&\
sudo mv ./target/writelatex-git-bridge-1.0-SNAPSHOT-jar-with-dependencies.jar /usr/local/sbin/writelatex-git-bridge.jar sudo mv ./target/writelatex-git-bridge-1.0-SNAPSHOT-jar-with-dependencies.jar /usr/local/sbin/writelatex-git-bridge.jar