summaryrefslogtreecommitdiffstats
path: root/db-functions
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-09-02 07:18:28 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2008-09-02 07:18:28 +0200
commit0730a707da94ff30b94c1f7829c8d247ddf0eeb2 (patch)
tree313653f1912d074121efd9c3933fa6b2136573f7 /db-functions
parent4bef49c9d906a5388027eb5cbe694b0b6b93e807 (diff)
downloaddbscripts-0730a707da94ff30b94c1f7829c8d247ddf0eeb2.tar.gz
dbscripts-0730a707da94ff30b94c1f7829c8d247ddf0eeb2.tar.xz
Correctly remove old sourceballs without removing the wrong files
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'db-functions')
-rw-r--r--db-functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/db-functions b/db-functions
index bcc25bb..25bca78 100644
--- a/db-functions
+++ b/db-functions
@@ -41,6 +41,7 @@ getpkgname() {
tmp=${1##*/}
tmp=${tmp%$PKGEXT}
+ tmp=${tmp%$SRCEXT}
tmp=${tmp%-$CARCH}
echo ${tmp%-*-*}
}