From 9e40769eb32f25a38f52a9a03efd09b6d2edc984 Mon Sep 17 00:00:00 2001 From: Pierre Choffet Date: Tue, 8 Jul 2025 12:01:13 -0400 Subject: [PATCH] Fix variable that must not be read only --- banq2wd.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/banq2wd.sh b/banq2wd.sh index 53a656f..90dfd54 100755 --- a/banq2wd.sh +++ b/banq2wd.sh @@ -43,7 +43,6 @@ function getParams() { fi eval set -- "${allparams}" - declare -p allparams while true do @@ -123,7 +122,7 @@ merge() { cp "${first_path}" "${old_tmp_path}" for path in "${@}" do - local -r tmp_path="$(mktemp)" + local tmp_path="$(mktemp)" xmlstarlet tr merge_marcxml.xslt -s "marcxml-path=${path}" "${old_tmp_path}" >| "${tmp_path}" rm "${old_tmp_path}" old_tmp_path="${tmp_path}" -- 2.53.0