Added sudo-less install for cygwin builds
This commit is contained in:
parent
f98f1365e1
commit
09b7bdcd5a
1 changed files with 7 additions and 1 deletions
|
@ -9,6 +9,12 @@ git clone --branch ${tag} --depth 1 ${repo} dependencies/libcsptr &&
|
|||
./autogen.sh &&
|
||||
./configure --prefix=/usr &&
|
||||
make &&
|
||||
sudo make install
|
||||
{
|
||||
if command -v sudo; then
|
||||
sudo make install
|
||||
else
|
||||
make install
|
||||
fi
|
||||
}
|
||||
)
|
||||
rm -Rf dependencies
|
||||
|
|
Loading…
Add table
Reference in a new issue