Commit 729187aa authored by Michał Kępień's avatar Michał Kępień
Browse files

Address ShellCheck warning SC1117

parent 8d0bb431
......@@ -26,7 +26,7 @@ for HASH in sha1 sha256 sha512; do
done
# Set up *.spec variables based on "configure.ac" (BIND 9.17.2+) or "version" (older BIND versions) extracted from the source tarball.
eval "$(tar --wildcards --extract --to-stdout --file "${SOURCE_TARBALL}" "*/configure.ac" | sed -nE "s|m4_define\(\[bind_(VERSION_.*?)\], (.*?)\)dnl$|\1=\2|p")"
eval "$(tar --wildcards --extract --to-stdout --file "${SOURCE_TARBALL}" "*/configure.ac" | sed -nE "s|m4_define\\(\\[bind_(VERSION_.*?)\\], (.*?)\\)dnl$|\\1=\\2|p")"
eval "$(tar --wildcards --extract --to-stdout --file "${SOURCE_TARBALL}" "*/version" 2>/dev/null)"
if [[ -n "${MAJORVER}" ]]; then
VERSION_MAJOR="${MAJORVER}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment