diff options
author | Leah Rowe <info@minifree.org> | 2017-09-22 00:01:52 +0000 |
---|---|---|
committer | Gogs <gogitservice@gmail.com> | 2017-09-22 00:01:52 +0000 |
commit | 96b3a3f8c9dd059318f49e2ce147d966487600f4 (patch) | |
tree | 2295a42b15a595693827acb983a7bd6886dc1528 /libs/tool | |
parent | 458f8d3621c95d02cd0335a3fff11bb94a34c14f (diff) | |
parent | b6b87eae55b7743ccfa3d6523794767c8d9186a0 (diff) | |
download | librebootfr-96b3a3f8c9dd059318f49e2ce147d966487600f4.tar.gz librebootfr-96b3a3f8c9dd059318f49e2ce147d966487600f4.zip |
Merge branch 'braces-braces-braces' of kragle/libreboot into master
Diffstat (limited to 'libs/tool')
-rwxr-xr-x | libs/tool | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -46,9 +46,9 @@ tool_helper_include() { tool_check() { local tool="${1##*/}" - local tool_path="$(tool_path "${tool}")" + local tool_path="$(tool_path "$tool")" - if ! [[ -f "${tool_path}/${tool}" ]]; then + if ! [[ -f "$tool_path/$tool" ]]; then return 1 fi } @@ -204,18 +204,18 @@ tool_arguments_targets() { local tool="$1" shift - local tool_path="$(tool_path "${tool}")" - local targets_path="${tool_path}/${CONFIGS}" + local tool_path="$(tool_path "$tool")" + local targets_path="$tool_path/$CONFIGS" local argument for argument in "$@"; do - targets_path="${targets_path}/${argument}" + targets_path="$targets_path/$argument" done - targets_path="${targets_path}/${TARGETS}" + targets_path="$targets_path/$TARGETS" - if [[ -f "${targets_path}" ]]; then - cat "${targets_path}" + if [[ -f "$targets_path" ]]; then + cat "$targets_path" fi } |