mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Update build scripts
This commit is contained in:
parent
f4c2bf9f34
commit
78b9553f4f
|
@ -116,7 +116,7 @@ if [[ $TOX_ONLY = "false" ]]; then
|
||||||
|
|
||||||
make -j2 check
|
make -j2 check
|
||||||
|
|
||||||
if [[ $GLOBAL = "false" || $EUID -e 0 ]]; then
|
if [[ $GLOBAL = "false" || $EUID -eq 0 ]]; then
|
||||||
make install
|
make install
|
||||||
else
|
else
|
||||||
sudo make install
|
sudo make install
|
||||||
|
@ -139,7 +139,7 @@ fi
|
||||||
|
|
||||||
make -j2
|
make -j2
|
||||||
|
|
||||||
if [[ $GLOBAL = "false" || $EUID -e 0 ]]; then
|
if [[ $GLOBAL = "false" || $EUID -eq 0 ]]; then
|
||||||
make install
|
make install
|
||||||
else
|
else
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
Loading…
Reference in New Issue
Block a user