Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "CI: Use the tox-verify workflow to test all envs"
[releng/global-jjb.git]
/
shell
/
sigul-sign.sh
diff --git
a/shell/sigul-sign.sh
b/shell/sigul-sign.sh
index
d5c674f
..
ca476ea
100644
(file)
--- a/
shell/sigul-sign.sh
+++ b/
shell/sigul-sign.sh
@@
-20,9
+20,9
@@
find "${SIGN_DIR}" -type f ! -name "*.asc" \
! -name "_remote.repositories" \
! -name "*.lastUpdated" \
! -name "maven-metadata-local.xml" \
! -name "_remote.repositories" \
! -name "*.lastUpdated" \
! -name "maven-metadata-local.xml" \
- ! -name "maven-metadata.xml" >
${WORKSPACE}/sign.lst
+ ! -name "maven-metadata.xml" >
"${WORKSPACE}/sign.lst"
-if [ -s
${WORKSPACE}/sign.lst
]; then
+if [ -s
"${WORKSPACE}/sign.lst"
]; then
echo "Sign list is not empty"
fi
echo "Sign list is not empty"
fi
@@
-30,7
+30,7
@@
files_to_sign=()
while IFS= read -rd $'\n' line; do
files_to_sign+=("$line")
sigul --batch -c "${SIGUL_CONFIG}" sign-data -a -o "${line}.asc" "${SIGUL_KEY}" "${line}" < "${SIGUL_PASSWORD}"
while IFS= read -rd $'\n' line; do
files_to_sign+=("$line")
sigul --batch -c "${SIGUL_CONFIG}" sign-data -a -o "${line}.asc" "${SIGUL_KEY}" "${line}" < "${SIGUL_PASSWORD}"
-done <
${WORKSPACE}/sign.lst
+done <
"${WORKSPACE}/sign.lst"
if [ "${#files_to_sign[@]}" -eq 0 ]; then
echo "ERROR: No files to sign. Quitting..."
if [ "${#files_to_sign[@]}" -eq 0 ]; then
echo "ERROR: No files to sign. Quitting..."