mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 14:06:36 +00:00
Use a local for format like the other functions
This commit is contained in:
parent
5757455b46
commit
73f683edc2
2
.github/sh/library/variables.inc.sh
vendored
2
.github/sh/library/variables.inc.sh
vendored
@ -4,7 +4,7 @@
|
||||
set_sl_var() { local f='%s=%s\n' ; printf -- "${f}" "$@" ; } ;
|
||||
|
||||
# Used together to set multiple line variables in the environment or output
|
||||
mk_delim() { printf -- '"%s_EOF_%d_"' "$1" "${RANDOM}" ; } ;
|
||||
mk_delim() { local f='%s_EOF_%d_' ; printf -- "${f}" "$1" "${RANDOM}" ; } ;
|
||||
open_ml_var() { local f=''\%'s<<'\%'s\n' ; printf -- "${f}" "$2" "$1" ; } ;
|
||||
close_ml_var() { local f='%s\n' ; printf -- "${f}" "$1" ; } ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user