diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-05-24 22:33:47 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-05-24 22:33:47 -0600 |
commit | ec1254321b7083f40840fc122db24c0102a677d7 (patch) | |
tree | 044a707ba7093ab25dad4a8db5cf08d81de945f7 /src/abslibre-tools | |
parent | 2f745a416fa47ceb57e74c74bd766aeb2c62a9df (diff) |
librerelease: Don't sign XBS files.
https://labs.parabola.nu/issues/566
Diffstat (limited to 'src/abslibre-tools')
-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 |