added possible build without installation
This commit is contained in:
parent
703c7d7044
commit
5056fe2764
18
build.sh
18
build.sh
@ -79,16 +79,18 @@ elif [[ "$1" == "install" ]]; then ########## INSTALL ##########
|
|||||||
|
|
||||||
$compiler $flags -o $installOutput *.o
|
$compiler $flags -o $installOutput *.o
|
||||||
|
|
||||||
###
|
if [[ "$2" != "lib" ]]; then
|
||||||
echo "Installing library..."
|
###
|
||||||
###
|
echo "Installing library..."
|
||||||
|
###
|
||||||
|
|
||||||
mv $installOutput /usr/lib/
|
mv $installOutput /usr/lib/
|
||||||
|
|
||||||
# Compilation failed
|
# Compilation failed
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
echo -e "\nCompilation failed. Did you run 'configure.sh' first and 'build.sh' with sudo?"
|
echo -e "\nCompilation failed. Did you run 'configure.sh' first and 'build.sh' with sudo?"
|
||||||
exit 1
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
###
|
###
|
||||||
|
Loading…
x
Reference in New Issue
Block a user