buildRustCrate: remove ancient test guards
Let's leave x"" to the 1990s, where they belong
This commit is contained in:
parent
8cc6897ae9
commit
d12cab3bb1
|
@ -19,7 +19,7 @@ let makeDeps = dependencies:
|
||||||
echo_build_heading() {
|
echo_build_heading() {
|
||||||
start=""
|
start=""
|
||||||
end=""
|
end=""
|
||||||
if [[ x"${colors}" = x"always" ]]; then
|
if [[ "${colors}" == "always" ]]; then
|
||||||
start="$(printf '\033[0;1;32m')" #set bold, and set green.
|
start="$(printf '\033[0;1;32m')" #set bold, and set green.
|
||||||
end="$(printf '\033[0m')" #returns to "normal"
|
end="$(printf '\033[0m')" #returns to "normal"
|
||||||
fi
|
fi
|
||||||
|
@ -34,7 +34,7 @@ let makeDeps = dependencies:
|
||||||
noisily() {
|
noisily() {
|
||||||
start=""
|
start=""
|
||||||
end=""
|
end=""
|
||||||
if [[ x"${colors}" = x"always" ]]; then
|
if [[ "${colors}" == "always" ]]; then
|
||||||
start="$(printf '\033[0;1;32m')" #set bold, and set green.
|
start="$(printf '\033[0;1;32m')" #set bold, and set green.
|
||||||
end="$(printf '\033[0m')" #returns to "normal"
|
end="$(printf '\033[0m')" #returns to "normal"
|
||||||
fi
|
fi
|
||||||
|
@ -194,7 +194,7 @@ let makeDeps = dependencies:
|
||||||
bold=""
|
bold=""
|
||||||
green=""
|
green=""
|
||||||
boldgreen=""
|
boldgreen=""
|
||||||
if [[ "${colors}" = "always" ]]; then
|
if [[ "${colors}" == "always" ]]; then
|
||||||
norm="$(printf '\033[0m')" #returns to "normal"
|
norm="$(printf '\033[0m')" #returns to "normal"
|
||||||
bold="$(printf '\033[0;1m')" #set bold
|
bold="$(printf '\033[0;1m')" #set bold
|
||||||
green="$(printf '\033[0;32m')" #set green
|
green="$(printf '\033[0;32m')" #set green
|
||||||
|
|
Loading…
Reference in New Issue