diff options
Diffstat (limited to 'src/abslibre-tools/librerelease')
-rwxr-xr-x | src/abslibre-tools/librerelease | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease index 54d7b7f..fdefcc5 100755 --- a/src/abslibre-tools/librerelease +++ b/src/abslibre-tools/librerelease @@ -82,7 +82,12 @@ create_signature() { } sign_packages() { - for file in $(find "${WORKDIR}/staging/" -type f -not \( -iname '*.sig' -o -name '*.lock' \) ); do + IFS=$'\n' + local files=($(find "${WORKDIR}/staging/" \ + \( -type d -name "${ABSLIBREDEST##*/}" \) -prune \ + -o \( -type f -not -iname '*.sig' \) -print)) + local file + for file in "${files[@]}"; do if [[ -f "${file}.sig" ]]; then msg2 "File signature found, verifying..." @@ -163,7 +168,7 @@ main() { load_files makepkg check_vars makepkg GPGKEY load_files libretools - check_vars libretools WORKDIR REPODEST || return 1 + check_vars libretools WORKDIR REPODEST ABSLIBREDEST || return 1 REPODEST+='/staging/' # The following settings are actually optional #check_vars libretools HOOKPRERELEASE HOOKPOSTRELEASE || return 1 |