summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index e7f75ed..8242215 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -620,7 +620,7 @@ tar -x
# - a list of needed libraries
# - a list of provided libraries
missing_files=$(
- find . -maxdepth 1 \( \
+ find . -maxdepth 1 -regextype sed \( \
\( \
-regex '.*\.pkg\.\('"${package_compression_suffix_regex}"'\)' \
-printf '%f package\n' \
@@ -701,7 +701,7 @@ fi
# check if the signatures are valid
signatures=$(
- find . -maxdepth 1 \
+ find . -maxdepth 1 -regextype sed \
-regex '.*\.pkg\.\('"${package_compression_suffix_regex}"'\)' \
-printf 'package file %f\n' \
-exec gpg --batch --status-fd 1 -q --homedir /etc/pacman.d/gnupg --verify '{}.sig' '{}' \; 2> /dev/null
@@ -726,7 +726,7 @@ fi
# check if the package maintainer is set
errors=$(
- find . -maxdepth 1 \
+ find . -maxdepth 1 -regextype sed \
-regex '.*\.pkg\.\('"${package_compression_suffix_regex}"'\)' | \
while read -r pkg; do
tar -Oxf "${pkg}" --zstd '.BUILDINFO' 2>/dev/null | \
@@ -747,7 +747,7 @@ if [ -n "${errors}" ]; then
fi
# check if the sent packages are the expected ones
-find . -maxdepth 1 \
+find . -maxdepth 1 -regextype sed \
-regex '.*\.pkg\.\('"${package_compression_suffix_regex}"'\)' \
-printf '%f\n' > \
"${tmp_dir}/packages"
@@ -968,7 +968,7 @@ cut -d' ' -f4,5 "${tmp_dir}/repository-ids" | \
# upload the packages into /pool
{
printf 'failsafe_rsync -c --copy-dest=/.transfer'
- find "${tmp_dir}" -maxdepth 1 \
+ find "${tmp_dir}" -maxdepth 1 -regextype sed \
-regex '.*\.pkg\.\('"${package_compression_suffix_regex}"'\)\(\.sig\)\?' \
-printf ' "%p"'
printf ' "%s/pool/"\n' \
@@ -978,7 +978,7 @@ cut -d' ' -f4,5 "${tmp_dir}/repository-ids" | \
# create symlinks
{
- find . \
+ find . -regextype sed \
-regex '.*\.pkg\.\('"${package_compression_suffix_regex}"'\)\(\.sig\)\?' \
-printf '%f\n' | \
while read -r file; do