summaryrefslogtreecommitdiff
path: root/test/test.d/db-update.sh
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-12-19 14:40:07 +0100
committerPierre Schmitz <pierre@archlinux.de>2011-12-19 14:40:07 +0100
commit5c7220a4aa370d1f726eb27d99d8f9294646433d (patch)
tree699c4f1643fa94c26eb75c683ca995f890108d8d /test/test.d/db-update.sh
parent2b7bb0c6b7aa4f7a43c82db1cf9a18d27600c62e (diff)
Avoid calls to basename
Diffstat (limited to 'test/test.d/db-update.sh')
-rwxr-xr-xtest/test.d/db-update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.d/db-update.sh b/test/test.d/db-update.sh
index e38c328..2021993 100755
--- a/test/test.d/db-update.sh
+++ b/test/test.d/db-update.sh
@@ -69,7 +69,7 @@ testAddSplitPackages() {
for pkgbase in ${pkgs[@]}; do
for arch in ${arches[@]}; do
for pkg in "${pkgdir}/${pkgbase}"/*-${arch}${PKGEXT}; do
- checkPackage extra $(basename ${pkg}) ${arch}
+ checkPackage extra ${pkg##*/} ${arch}
done
done
done