fixed include flag in build script

This commit is contained in:
Václav Šmejkal 2022-05-06 17:55:11 +02:00
parent 6907ba160e
commit 35f8e6690c

View File

@ -52,18 +52,18 @@ if [[ "$1" == "test" ]]; then ########## TEST ##########
echo "Output generated as '$testOutput'" echo "Output generated as '$testOutput'"
### ###
elif [[ "$1" == "install" ]]; then ########## INSTALL ########## elif [[ "$1" == "install" ]]; then ########## INSTALL ##########
###
echo "Installing header files..."
###
# Create why2 directory
if [[ ! -d $includeDirectory ]]; then
mkdir $includeDirectory
fi
cp $includeFiles $includeDirectory
if [[ "$2" == "include" ]]; then if [[ "$2" == "include" ]]; then
###
echo "Installing header files..."
###
# Create why2 directory
if [[ ! -d $includeDirectory ]]; then
mkdir $includeDirectory
fi
cp $includeFiles $includeDirectory
exit exit
fi fi