aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2017-10-26 00:22:45 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2017-10-28 23:30:00 -0400
commitc3f80f40f9e9b7bc3a57c3ed774dfdc1f46a8196 (patch)
treebf07d3938f61fafe67493ba5ee5c47e35008808d /libs
parent4e3505463eadffd9f1994f8ecaba9b1d693ec7bf (diff)
downloadlibrebootfr-c3f80f40f9e9b7bc3a57c3ed774dfdc1f46a8196.tar.gz
librebootfr-c3f80f40f9e9b7bc3a57c3ed774dfdc1f46a8196.zip
Replace '.' usage with Bash 'source' builtin
The source builtin provided by Bash is easier to read than '.' (a lone period). Conforming to POSIX wasn't and isn't a goal of the Libreboot build system and as such it's fine to deviate from the standard where it makes sense, such as now.
Diffstat (limited to 'libs')
-rwxr-xr-xlibs/tool4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/tool b/libs/tool
index 41bf0cc1..f469d0ef 100755
--- a/libs/tool
+++ b/libs/tool
@@ -26,7 +26,7 @@ tool_include() {
unset -f "${TOOL_ACTIONS[@]}"
- . "$tool_path/$tool"
+ source "$tool_path/$tool"
tool_helper_include "$tool"
}
@@ -39,7 +39,7 @@ tool_helper_include() {
if [ -f "$include" ]
then
- . "$include"
+ source "$include"
fi
}