Added sudo-less install for cygwin builds

This commit is contained in:
Snaipe 2015-04-15 13:34:34 +02:00
parent f98f1365e1
commit 09b7bdcd5a

View file

@ -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