summaryrefslogtreecommitdiff
path: root/test/test.d/db-move.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-move.sh
parent2b7bb0c6b7aa4f7a43c82db1cf9a18d27600c62e (diff)
Avoid calls to basename
Diffstat (limited to 'test/test.d/db-move.sh')
-rwxr-xr-xtest/test.d/db-move.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.d/db-move.sh b/test/test.d/db-move.sh
index 9d7c1f6..890ffc4 100755
--- a/test/test.d/db-move.sh
+++ b/test/test.d/db-move.sh
@@ -107,12 +107,12 @@ testMoveSplitPackages() {
for arch in ${arches[@]}; do
for pkg in "${pkgdir}/pkg-split-a"/*-${arch}${PKGEXT}; do
- checkPackage extra $(basename ${pkg}) ${arch}
+ checkPackage extra ${pkg##*/} ${arch}
done
done
for arch in ${arches[@]}; do
for pkg in "${pkgdir}/pkg-split-b"/*-${arch}${PKGEXT}; do
- checkPackage testing $(basename ${pkg}) ${arch}
+ checkPackage testing ${pkg##*/} ${arch}
done
done