summaryrefslogtreecommitdiffstats
path: root/db-functions
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-01-31 21:46:13 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-05-27 15:46:04 +0200
commitbe30f5de81421f25609bf8021324fb14fec3437d (patch)
tree8d2693fb408becb2d092f82e2500309d45c1c5ff /db-functions
parent68360bd443deaa0ae2d9dde7cfd905a3a46f76cc (diff)
downloaddbscripts-be30f5de81421f25609bf8021324fb14fec3437d.tar.gz
dbscripts-be30f5de81421f25609bf8021324fb14fec3437d.tar.xz
fix db-update
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'db-functions')
-rw-r--r--db-functions2
1 files changed, 1 insertions, 1 deletions
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