File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -331,6 +331,9 @@ detect_arch()
331
331
export ARCH
332
332
}
333
333
334
+ # This function detects the path to various tools needed by the build system.
335
+ # It's useful if the specified tool is not in PATH, or if the PATH resolution
336
+ # picks up the wrong tool, or if e.g. gmake is preferred over make.
334
337
detect_tools ()
335
338
{
336
339
# We look for GNU Make because
@@ -345,9 +348,12 @@ detect_tools()
345
348
exit 42
346
349
fi
347
350
351
+ # fuser displays the PIDs of processes using specified files or file
352
+ # systems. We use it to kill processes that can mess with the build process.
348
353
FUSER=$( func_whereis fuser)
349
354
export FUSER
350
355
356
+ # We use it to submit patches to the dependencies.
351
357
PATCH=$( func_whereis gpatch patch)
352
358
export PATCH
353
359
}
You can’t perform that action at this time.
0 commit comments