File tree Expand file tree Collapse file tree 1 file changed +2
-20
lines changed
Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -156,12 +156,12 @@ clean_node() {
156156 return 0
157157}
158158
159- # Installs dependencies .
159+ # Performs install tasks .
160160#
161161# $1 - log file
162162install () {
163163 echo ' Installing...' >&2
164- make install >> " $1 " 2>&1
164+ make C_COMPILER=gcc FORTRAN_COMPILER=gfortran install >> " $1 " 2>&1
165165 if [[ " $? " -ne 0 ]]; then
166166 echo ' Error occurred during install.' >&2
167167 return 1
@@ -170,20 +170,6 @@ install() {
170170 return 0
171171}
172172
173- # Builds add-ons.
174- #
175- # $1 - log file
176- build_addons () {
177- echo ' Building add-ons...' >&2
178- make C_COMPILER=gcc FORTRAN_COMPILER=gfortran install-addons >> " $1 " 2>&1
179- if [[ " $? " -ne 0 ]]; then
180- echo ' Error occurred when building add-ons.' >&2
181- return 1
182- fi
183- echo ' Building add-ons successful.' >&2
184- return 0
185- }
186-
187173# Initializes the Node.js environment.
188174#
189175# $1 - Node.js version
@@ -201,10 +187,6 @@ init() {
201187 if [[ " $? " -ne 0 ]]; then
202188 return 1
203189 fi
204- build_addons " $2 "
205- if [[ " $? " -ne 0 ]]; then
206- return 1
207- fi
208190 return 0
209191}
210192
You can’t perform that action at this time.
0 commit comments