Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Packages
rpms
BIND RPMs - public
Commits
729187aa
Commit
729187aa
authored
Mar 08, 2022
by
Michał Kępień
Browse files
Address ShellCheck warning SC1117
parent
8d0bb431
Changes
1
Hide whitespace changes
Inline
Side-by-side
.copr/prepare-srpm.sh
View file @
729187aa
...
...
@@ -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
}
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment