summaryrefslogtreecommitdiff
path: root/src/abslibre-tools
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-07-05 00:42:07 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-07-05 00:42:07 -0400
commit715ddde04f599755d384c9f658ac52b3ee89a512 (patch)
tree4a095578e044dda8ac63e0e2e4026a1ffba934d2 /src/abslibre-tools
parentf9e7982a7aa2b7d496969d9527130a8236fc82cc (diff)
librerelease: ignore .lock files
Diffstat (limited to 'src/abslibre-tools')
-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..."