From be30f5de81421f25609bf8021324fb14fec3437d Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 31 Jan 2014 21:46:13 +0100 Subject: fix db-update Signed-off-by: Florian Pritz --- db-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db-functions') diff --git a/db-functions b/db-functions index 6efd85d..87488d2 100644 --- a/db-functions +++ b/db-functions @@ -521,7 +521,7 @@ arch_db_add() { local repo="$1" local tarch="$2" local pkgfiles=("${@:3}") - pkgfiles=("${pkgfiles##*/}") + pkgfiles=("${pkgfiles[@]##*/}") local dstdir="$FTP_BASE/$repo/os/$tarch" for pkgfile in "${pkgfiles[@]}"; do -- cgit v1.2.3-24-g4f1b