Skip to content

Commit 63bb70c

Browse files
authored
Merge pull request #1288 from RicoAntonioFelix/install_script
install.sh: Add whitespace to confirmation prompt
2 parents 3c48595 + d2f00bd commit 63bb70c

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

install.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ while getopts "h?yqb:" opt; do
3333
;;
3434
q) quiet=1
3535
;;
36-
b) BUNDLE_LOC=$OPTARG
36+
b) BUNDLE_LOC=$OPTARG
3737
if [ -f $BUNDLE_LOC ]; then
3838
export BUNDLE_LOC=$BUNDLE_LOC
3939
else
@@ -105,7 +105,7 @@ if ! command -v sudo > /dev/null 2>&1; then
105105
exit 1
106106
fi
107107

108-
# Install build requirements (compiler, etc)
108+
# Install build requirements (compiler, etc)
109109
if [ "Darwin" = "$SYSTEM" ]; then
110110
if ! ./etc/install_osx.sh; then
111111
printf "%s\n" ">>> Sorry <<<"\
@@ -118,7 +118,7 @@ else
118118
dependency_level=all
119119
else
120120
dependency_level=build
121-
fi
121+
fi
122122
echo ">>> Dependencies required:"
123123
if ! ./etc/install_build_requirements.sh -s $SYSTEM -r $RELEASE -c -d $dependency_level; then
124124
missing_dependencies=1
@@ -132,7 +132,7 @@ fi
132132
# Check if script has write permission to PREFIX location
133133
start_dir=$INCLUDEOS_PREFIX
134134
while [ "$start_dir" != "/" ]
135-
do
135+
do
136136
if [ -d $start_dir ]; then # If dir exists
137137
if [ ! -w $start_dir ]; then # If dir is not writable
138138
printf "\n\n>>> IncludeOS can't be installed with the current options\n"
@@ -164,7 +164,7 @@ printf " %-25s %-25s %s\n"\
164164

165165
# Give user option to evaluate install options
166166
if tty -s && [ $install_yes -eq 0 ]; then
167-
read -p "Is this correct [Y/n]?" answer
167+
read -p "Is this correct [Y/n]? " answer
168168
answer=${answer:-"Y"} # Default value
169169
case $answer in
170170
[yY] | [yY][Ee][Ss] )
@@ -190,7 +190,7 @@ function clean {
190190
if [ -f /tmp/cmake_output.txt ]; then
191191
rm /tmp/cmake_output.txt
192192
fi
193-
}
193+
}
194194
trap clean EXIT
195195

196196
printf "\n\n>>> Running install_from_bundle.sh (expect up to 3 minutes)\n"
@@ -223,7 +223,7 @@ fi
223223
# INSTALL FINISHED:
224224
############################################################
225225

226-
printf "\n\n>>> IncludeOS installation Done!\n"
226+
printf "\n\n>>> IncludeOS installation Done!\n"
227227
printf " %s\n" "To use IncludeOS set env variables for cmake to know your compiler, e.g.:"\
228228
' export CC="clang-3.8"'\
229229
' export CXX="clang++-3.8"'\

0 commit comments

Comments
 (0)