Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
Starbeamrainbowlabs
lantern-build-engine
Commits
da5cd7d7
Verified
Commit
da5cd7d7
authored
Dec 30, 2018
by
Starbeamrainbowlabs
Browse files
Bugfix: Properly reset colour after echoing stage_end
parent
7365f7d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
lantern.sh
View file @
da5cd7d7
...
...
@@ -96,7 +96,7 @@ stage_end() {
fi
term_width
=
$(
tput cols
)
;
padding_length
=
$((
term_width
/
2
-
3
-
1
))
;
echo
-e
"
${
HC
}${
FBLE
}
$(
printf
'%*s'
${
padding_length
}
|
tr
' '
'-'
)
[
${
RS
}
${
display_text
}
${
HC
}${
FBLE
}
]
$(
printf
'%*s'
${
padding_length
}
|
tr
' '
'-'
)
${
HC
}${
FBLE
}
"
;
echo
-e
"
${
HC
}${
FBLE
}
$(
printf
'%*s'
${
padding_length
}
|
tr
' '
'-'
)
[
${
RS
}
${
display_text
}
${
HC
}${
FBLE
}
]
$(
printf
'%*s'
${
padding_length
}
|
tr
' '
'-'
)
${
RS
}
"
;
if
[[
$1
-ne
0
]]
;
then
exit
$1
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment