build.sh: combine both commands with '&&'
* if first command fails, second does not get executed
This commit is contained in:
parent
6dda64dcbe
commit
e4fae2d664
1 changed files with 1 additions and 2 deletions
3
build.sh
3
build.sh
|
@ -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…
Reference in a new issue