aboutsummaryrefslogtreecommitdiff
path: root/projects/crossgcc
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2017-10-26 21:45:42 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2017-10-28 23:30:03 -0400
commit5c1fe562d8044249f5830df826544bc72ecb41b2 (patch)
treee86f14dfddc867e8a8abdfa31713edcc2cf87c3d /projects/crossgcc
parentc7377e3eb74a73874f9d2253083b3ae952156ac8 (diff)
downloadlibrebootfr-5c1fe562d8044249f5830df826544bc72ecb41b2.tar.gz
librebootfr-5c1fe562d8044249f5830df826544bc72ecb41b2.zip
Remove unnecessary spaces in command substitutions
This is likely one of the very last changes necessary to make the Libreboot build system more cohesive in appearance. Hopefully from this point forward it won't be as readily apparent as to who wrote which parts of the build system (i.e. won't look like a patchwork quilt any longer).
Diffstat (limited to 'projects/crossgcc')
-rwxr-xr-xprojects/crossgcc/crossgcc30
-rwxr-xr-xprojects/crossgcc/crossgcc-helper8
2 files changed, 19 insertions, 19 deletions
diff --git a/projects/crossgcc/crossgcc b/projects/crossgcc/crossgcc
index 92a46860..46b9e3f3 100755
--- a/projects/crossgcc/crossgcc
+++ b/projects/crossgcc/crossgcc
@@ -46,9 +46,9 @@ extract() {
crossgcc_tarballs "$@" | while read tarball
do
- local tarball_sources_path=$( crossgcc_tarball_sources_path "$tarball" )
- local tarball_install_path=$( crossgcc_tarball_install_path "$tarball" "$@" )
- local tarball_install_directory_path=$( dirname "$tarball_install_path" )
+ local tarball_sources_path=$(crossgcc_tarball_sources_path "$tarball")
+ local tarball_install_path=$(crossgcc_tarball_install_path "$tarball" "$@")
+ local tarball_install_directory_path=$(dirname "$tarball_install_path")
if [[ -f "$tarball_sources_path" ]] && ! [[ -f "$tarball_install_path" ]]
then
@@ -70,7 +70,7 @@ extract_check() {
crossgcc_tarballs "$@" | while read tarball
do
- local tarball_install_path=$( crossgcc_tarball_install_path "$tarball" "$@" )
+ local tarball_install_path=$(crossgcc_tarball_install_path "$tarball" "$@")
test ! -f "$tarball_install_path"
done
@@ -86,9 +86,9 @@ update() {
crossgcc_tarballs "$@" | while read tarball
do
- local tarball_sources_path=$( crossgcc_tarball_sources_path "$tarball" )
- local tarball_install_path=$( crossgcc_tarball_install_path "$tarball" "$@" )
- local tarball_install_directory_path=$( dirname "$tarball_install_path" )
+ local tarball_sources_path=$(crossgcc_tarball_sources_path "$tarball")
+ local tarball_install_path=$(crossgcc_tarball_install_path "$tarball" "$@")
+ local tarball_install_directory_path=$(dirname "$tarball_install_path")
if [[ -f $tarball_sources_path ]]
then
@@ -110,7 +110,7 @@ update_check() {
crossgcc_tarballs "$@" | while read tarball
do
- local tarball_sources_path=$( crossgcc_tarball_sources_path "$tarball" "$@" )
+ local tarball_sources_path=$(crossgcc_tarball_sources_path "$tarball" "$@")
test ! -f "$tarball_sources_path"
done
@@ -119,7 +119,7 @@ update_check() {
prefix() {
local arch=$1
- local build_path=$( project_build_path "$project" "$@" )
+ local build_path=$(project_build_path "$project" "$@")
case $arch in
"arm")
@@ -138,8 +138,8 @@ build() {
project_sources_directory_missing_empty_error "$project" "$repository" "$@"
- local sources_path=$( project_sources_path "$project" "$repository" "$@" )
- local build_path=$( project_build_path "$project" "$@" )
+ local sources_path=$(project_sources_path "$project" "$repository" "$@")
+ local build_path=$(project_build_path "$project" "$@")
if git_project_check "$repository"
then
@@ -184,9 +184,9 @@ release() {
crossgcc_tarballs "$@" | while read tarball
do
- local tarball_install_path=$( crossgcc_tarball_install_path "$tarball" "$@" )
- local tarball_release_path=$( crossgcc_tarball_release_path "$tarball" "$@" )
- local release_path=$( project_release_path "$project" "$SOURCES" "$@" )
+ local tarball_install_path=$(crossgcc_tarball_install_path "$tarball" "$@")
+ local tarball_release_path=$(crossgcc_tarball_release_path "$tarball" "$@")
+ local release_path=$(project_release_path "$project" "$SOURCES" "$@")
mkdir -p "$release_path"
@@ -210,7 +210,7 @@ release_check() {
crossgcc_tarballs "$@" | while read tarball
do
- local tarball_release_path=$( crossgcc_tarball_release_path "$tarball" "$@" )
+ local tarball_release_path=$(crossgcc_tarball_release_path "$tarball" "$@")
test -f "$tarball_release_path"
done
diff --git a/projects/crossgcc/crossgcc-helper b/projects/crossgcc/crossgcc-helper
index 3891a15c..94e445bf 100755
--- a/projects/crossgcc/crossgcc-helper
+++ b/projects/crossgcc/crossgcc-helper
@@ -31,9 +31,9 @@ crossgcc_same_major_version_test() {
}
crossgcc_tarballs() {
- local sources_path=$( project_sources_path "$project" "$repository" "$@" )
+ local sources_path=$(project_sources_path "$project" "$repository" "$@")
local install_path="$sources_path/util/crossgcc/tarballs/"
- local tarballs=$( ls "$sources_path/util/crossgcc/sum" | sed "s/.cksum$//" )
+ local tarballs=$(ls "$sources_path/util/crossgcc/sum" | sed "s/.cksum$//")
printf '%s\n' "$tarballs"
}
@@ -50,7 +50,7 @@ crossgcc_tarball_install_path() {
local tarball=$1
shift
- local sources_path=$( project_sources_path "$project" "$repository" "$@" )
+ local sources_path=$(project_sources_path "$project" "$repository" "$@")
local install_path="$sources_path/util/crossgcc/tarballs/"
local tarball_install_path="$install_path/$tarball"
@@ -61,7 +61,7 @@ crossgcc_tarball_release_path() {
local tarball=$1
shift
- local release_path=$( project_release_path "$project" "$SOURCES" "$@" )
+ local release_path=$(project_release_path "$project" "$SOURCES" "$@")
local tarball_release_path="$release_path/$tarball"
printf '%s\n' "$tarball_release_path"