summaryrefslogtreecommitdiff
path: root/pkgdb
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2003-05-26 17:25:59 +0000
committerJudd Vinet <judd@archlinux.org>2003-05-26 17:25:59 +0000
commit0748b95685f4041631fbfa1a8d6d5c79d0c95022 (patch)
treeb1f907062781318b35b3a46a8e2d046d495afba0 /pkgdb
parentdddb8b09af8bcd4666edc492a6ad178e74018e43 (diff)
category bug
Diffstat (limited to 'pkgdb')
-rwxr-xr-xpkgdb4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgdb b/pkgdb
index ae14660..13c3163 100755
--- a/pkgdb
+++ b/pkgdb
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Id: pkgdb,v 1.6 2003/05/26 17:10:12 judd Exp $
+# $Id: pkgdb,v 1.7 2003/05/26 17:25:59 judd Exp $
tl=`pwd`
@@ -69,7 +69,7 @@ process() {
. PKGBUILD
# tag it
touch .tag
- category=`pwd | sed 's|^.*/||g'`
+ category=`pwd | sed "s|$tl/||" | sed 's|/.*$||'`
cd - &>/dev/null
deplist=${depends[@]}
deplist=`php -r "echo addslashes(\"$deplist\");"`