diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-12-19 14:40:07 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-12-19 14:40:07 +0100 |
commit | 5c7220a4aa370d1f726eb27d99d8f9294646433d (patch) | |
tree | 699c4f1643fa94c26eb75c683ca995f890108d8d /test/test.d/db-update.sh | |
parent | 2b7bb0c6b7aa4f7a43c82db1cf9a18d27600c62e (diff) |
Avoid calls to basename
Diffstat (limited to 'test/test.d/db-update.sh')
-rwxr-xr-x | test/test.d/db-update.sh | 2 |
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 |