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
|
||||
|
||||
###
|
||||
echo "Installing library..."
|
||||
###
|
||||
if [[ "$2" != "lib" ]]; then
|
||||
###
|
||||
echo "Installing library..."
|
||||
###
|
||||
|
||||
mv $installOutput /usr/lib/
|
||||
mv $installOutput /usr/lib/
|
||||
|
||||
# Compilation failed
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo -e "\nCompilation failed. Did you run 'configure.sh' first and 'build.sh' with sudo?"
|
||||
exit 1
|
||||
# Compilation failed
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo -e "\nCompilation failed. Did you run 'configure.sh' first and 'build.sh' with sudo?"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
###
|
||||
|
Loading…
x
Reference in New Issue
Block a user