build.sh: combine both commands with '&&'

* if first command fails, second does not get executed
master
Dominic Reich 9 years ago
parent 6dda64dcbe
commit e4fae2d664

@ -1,3 +1,2 @@
#!/bin/sh
g++ -O2 -pipe -fomit-frame-pointer -Wall -s -pie -fpie -lboost_system -o blacklist blacklist.cpp
sudo cp blacklist /usr/local/bin/
g++ -O2 -pipe -fomit-frame-pointer -Wall -s -pie -fpie -lboost_system -o blacklist blacklist.cpp && cp blacklist /usr/local/bin/

Loading…
Cancel
Save