summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/abslibre-tools/librerelease4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease
index c287e13..387d411 100755
--- a/src/abslibre-tools/librerelease
+++ b/src/abslibre-tools/librerelease
@@ -55,7 +55,7 @@ readonly rsync_flags=(
# Functions ####################################################################
list0_files() {
- find -L "${WORKDIR}/staging" -type f \
+ find -L "${WORKDIR}/staging" -type f -not -name '*.lock' \
-exec realpath -z --relative-to="${WORKDIR}/staging" {} +
}
@@ -86,7 +86,7 @@ sign_packages() {
warning "It's better to have \`%s\` running to sign packages in batches" 'gpg-agent --daemon'
fi
- for file in $(find "${WORKDIR}/staging/" -type f -not -iname '*.sig'); do
+ for file in $(find "${WORKDIR}/staging/" -type f -not \( -iname '*.sig' -o -name '*.lock' \) ); do
if [[ -f "${file}.sig" ]]; then
msg2 "File signature found, verifying..."