Commit 42dc7a71 authored by incardon's avatar incardon
Browse files

Added option to skip make

parent 386ee207
......@@ -20,6 +20,7 @@ fi
install_req=1
i_dir=" "
sq=0
nomake=0
while getopts :di:shc: FLAG; do
case $FLAG in
......@@ -39,6 +40,10 @@ while getopts :di:shc: FLAG; do
echo "Fowarding options $OPTARG to configure script"
configure_options=$OPTARG
;;
m)
echo "Skip make"
nomake=1
;;
h) #show help
HELP
;;
......
......@@ -10,6 +10,7 @@ function HELP {
echo -e " \033[1;34m-s\033[0m skip user input"
echo -e " \033[1;34m-c\033[0m foward this options to configure"
echo -e " \033[1;34m-h\033[0m Displays this help message"\\n
echo -e " \033[1;34m-m\033[0m Skip make"\\n
echo -e " \033[1mExample:\033[0m ./install -i /dependencies/here -s -c\"some_options someother_option\""\\n
exit 1
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment