test: Drop debugging left-overs in lib/util
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
d5c887de87
commit
f318174a93
1 changed files with 0 additions and 4 deletions
|
@ -96,8 +96,6 @@ file_def() {
|
||||||
# $1: List of substitutions
|
# $1: List of substitutions
|
||||||
# $2: String where substitutions have to be applied
|
# $2: String where substitutions have to be applied
|
||||||
subs_apply() {
|
subs_apply() {
|
||||||
echo "in subs_apply" >> /tmp/subs_apply
|
|
||||||
|
|
||||||
__ifs="${IFS}"
|
__ifs="${IFS}"
|
||||||
IFS=' '
|
IFS=' '
|
||||||
__newarg="${2}"
|
__newarg="${2}"
|
||||||
|
@ -105,8 +103,6 @@ subs_apply() {
|
||||||
for __t in ${1}; do
|
for __t in ${1}; do
|
||||||
[ -z "${__s}" ] && __s="${__t}" && continue
|
[ -z "${__s}" ] && __s="${__t}" && continue
|
||||||
|
|
||||||
echo "t: --${__t}--, --${__s}--" >> /tmp/subs_apply
|
|
||||||
|
|
||||||
__et="$(printf '%s\n' "$__t" | sed -e 's/[\/&]/\\&/g')"
|
__et="$(printf '%s\n' "$__t" | sed -e 's/[\/&]/\\&/g')"
|
||||||
__es="$(printf '%s\n' "$__s" | sed -e 's/[]\/$*.^[]/\\&/g')"
|
__es="$(printf '%s\n' "$__s" | sed -e 's/[]\/$*.^[]/\\&/g')"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue