Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archrelease.in
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-08-10 16:33:51 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-08-10 16:33:51 +0200
commit69e1d614cd4ba34d3ed1e4386cb1c335b0cf5db7 (patch)
tree8e41946f9603f8c480163146044927404d9b33ed /archrelease.in
parent3c7d0b27036ef60cf5ad22397f4823d45687637b (diff)
parentb8d9a2b4fd02918a9988aafdf073e45a957b32e7 (diff)
Merge branch 'upstreamMaster' into abaaba
Diffstat (limited to 'archrelease.in')
-rw-r--r--archrelease.in7
1 files changed, 1 insertions, 6 deletions
diff --git a/archrelease.in b/archrelease.in
index 252db28..3490ee2 100644
--- a/archrelease.in
+++ b/archrelease.in
@@ -51,11 +51,6 @@ fi
pushd .. >/dev/null
mapfile -t known_files < <(svn ls -r HEAD "$trunk")
wait $! || die "failed to discover committed files"
-for file in "${known_files[@]}"; do
- if [[ ${file:(-1)} = '/' ]]; then
- die "archrelease: subdirectories are not supported in package directories!"
- fi
-done
# gracefully handle files containing an "@" character
known_files=("${known_files[@]/%/@}")
@@ -67,7 +62,7 @@ for tag in "$@"; do
stat_busy "Copying %s to %s" "${trunk}" "${tag}"
if [[ -d repos/$tag ]]; then
- mapfile -t trash < <(svn ls "repos/$tag")
+ mapfile -t trash < <(svn ls --recursive "repos/$tag")
wait $! || die "failed to discover existing files"
if (( ${#trash[@]} )); then
trash=("${trash[@]/#/repos/$tag/}")