mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-29 14:31:46 +01:00
pkg-auto: Simplify the use of sed
Co-authored-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
parent
a8922be627
commit
1039ed0571
@ -247,7 +247,7 @@ function packages_for_board() {
|
|||||||
|
|
||||||
local name=${arch^^}_BOARD_EO_F
|
local name=${arch^^}_BOARD_EO_F
|
||||||
|
|
||||||
cat "${!name}" | sed "${@}" | sort
|
sed "${@}" "${!name}" | sort
|
||||||
}
|
}
|
||||||
|
|
||||||
# Prints package name, slot and version information for SDK.
|
# Prints package name, slot and version information for SDK.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user