- Allows to add a project by just adding custom definitions to projects/<project>.sh - Except for cases that haven't been anticipated yet, modifying common code should no longer be needed Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
19 lines
214 B
Bash
19 lines
214 B
Bash
# Elixir definitions for BusyBox
|
|
|
|
version_dir()
|
|
{
|
|
tr '_.' '._';
|
|
}
|
|
|
|
version_rev()
|
|
{
|
|
tr '._' '_.';
|
|
}
|
|
|
|
list_tags_h()
|
|
{
|
|
echo "$tags" |
|
|
tac |
|
|
sed -r 's/^([0-9])\.([0-9]*)(.*)$/v\1 \1.\2 \1.\2\3/'
|
|
}
|
|
|