Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ac54ef4

Browse filesBrowse files
committed
shellcheck fix
1 parent a2225e8 commit ac54ef4
Copy full SHA for ac54ef4

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎dietpi/func/dietpi-banner

Copy file name to clipboardExpand all lines: dietpi/func/dietpi-banner
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@
8080
## Parse the above colour strings and use them to generate an expression to match them
8181
## via bash substitution
8282
__make_strip_color(){
83-
local tmp="${aCOLOUR[@]} $COLOUR_RESET"
83+
# shellcheck disable=SC2124
84+
local tmp="${aCOLOUR[@]} $COLOUR_RESET" ## convert array to string
8485
tmp="+(${tmp// /|})" ## convert list into OR expression
8586
tmp="${tmp//\\e/\\\\\\e}" ## ensure '\e' exists
8687
tmp="${tmp//\[/\\[}" ## ensure '\[' exists

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.