summaryrefslogtreecommitdiffstats
path: root/db-update
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-03-31 23:09:57 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-03-31 23:09:57 +0200
commit57987ae42fb58c58e044bfd7d3486010b32bb313 (patch)
tree294f83ab65d2ff8610442c7a7f22cc4932f351fc /db-update
parent7bc888905280e1b59febdc4bad475b726225b95d (diff)
downloaddbscripts-57987ae42fb58c58e044bfd7d3486010b32bb313.tar.gz
dbscripts-57987ae42fb58c58e044bfd7d3486010b32bb313.tar.xz
don't publish *.old files
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-update b/db-update
index 0973bf3..82d2e25 100755
--- a/db-update
+++ b/db-update
@@ -236,7 +236,7 @@ for current_arch in ${ARCHES[@]}; do
fi
done
fi
- if ! /bin/cp "$WORKDIR/build/$reponame.db"* "$ftppath/"; then
+ if ! /bin/cp "$WORKDIR/build/$reponame$DBEXT" "$ftppath/"; then
die "failed to move repository $reponame-$current_arch".
fi
else