Skip to content

Commit 0964240

Browse files
mbasmanovafacebook-github-bot
authored andcommitted
Remove sudo from install.sh (#341)
Summary: Sometimes there is not sudo and install.sh fails: bash: sudo: command not found This change removes sudo from the script and lets the user decide whether to run with sudo or not. CC: lnicco Pull Request resolved: #341 Reviewed By: lnicco Differential Revision: D24049014 Pulled By: mbasmanova fbshipit-source-id: 56c81357a79783014a9fa09c8989180cfe75c727
1 parent ac9b4b5 commit 0964240

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proxygen/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ cd "$(dirname "$0")"
1818

1919
cd _build
2020
# Uninstall is expected to fail the first time
21-
sudo make uninstall || true
22-
sudo make install
21+
make uninstall || true
22+
make install
2323

2424
# Make sure the libraries are available
2525
# Linux only
26-
sudo /sbin/ldconfig || true
26+
/sbin/ldconfig || true

0 commit comments

Comments
 (0)