mirror of
https://github.com/willfarrell/docker-crontab.git
synced 2025-04-19 20:59:56 +02:00
fix: SC1001, SC2018, SC2019 shellcheck fixes.
This commit is contained in:
parent
6d92c31545
commit
882fb137f2
@ -55,7 +55,7 @@ ensure_docker_socket_accessible() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
slugify() {
|
slugify() {
|
||||||
echo "$@" | iconv -t ascii | sed -r s/[~\^]+//g | sed -r s/[^a-zA-Z0-9]+/-/g | sed -r s/^-+\|-+$//g | tr A-Z a-z
|
echo "$@" | iconv -t ascii | sed -r s/[~^]+//g | sed -r s/[^a-zA-Z0-9]+/-/g | sed -r s/^-+\|-+$//g | tr '[:upper:]' '[:lower:]'
|
||||||
}
|
}
|
||||||
|
|
||||||
make_image_cmd() {
|
make_image_cmd() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user