Commit c2420902 authored by Lukas Fleischer's avatar Lukas Fleischer Committed by Pierre Schmitz
Browse files

archrelease: Copy new files from trunk



Currently, files that have just been added to trunk are not copied to
the repositories when invoking archrelease, as `svn ls` does not list
them if we don't `svn update` explicitly before. Use `svn ls -r HEAD` to
include everything from current HEAD. Fixes FS#25680.

Reported-by: default avatarEric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: default avatarPierre Schmitz <pierre@archlinux.de>
parent 61010062
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ if [[ $(svn status -q) ]]; then
fi

pushd .. >/dev/null
IFS=$'\n' read -r -d '' -a known_files < <(svn ls "trunk")
IFS=$'\n' read -r -d '' -a known_files < <(svn ls -r HEAD "trunk")
for file in "${known_files[@]}"; do
	if [[ ${file:(-1)} = '/' ]]; then
		abort "archrelease: subdirectories are not supported in package directories!"