summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2009-01-06 22:33:12 -0800
committerRoland McGrath <roland@redhat.com>2009-01-06 22:33:12 -0800
commit487b56811b3a67b25bc13a9114378e87e0fb5c1a (patch)
treed6f881801cc7dafe55de8fc0b0876a083971656e
parentaf3425b4d2494e0d47393f8217a5209b8ed170c1 (diff)
downloaddebuginfo-test-scripts-487b56811b3a67b25bc13a9114378e87e0fb5c1a.tar.gz
debuginfo-test-scripts-487b56811b3a67b25bc13a9114378e87e0fb5c1a.tar.xz
debuginfo-test-scripts-487b56811b3a67b25bc13a9114378e87e0fb5c1a.zip
braino
-rwxr-xr-xsingle-file-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/single-file-test.sh b/single-file-test.sh
index 1cf6d4f..bdb1b29 100755
--- a/single-file-test.sh
+++ b/single-file-test.sh
@@ -28,7 +28,7 @@ run_one()
dir=${file//\//:}
name=${file##*/}
- rpm=$file
+ rpm=${file%%/*}
archless=${rpm%.*}
arch=${rpm##*.}
d=${arch}/${archless:0:2}/${archless:2:2}