diff options
author | Judd Vinet <judd@archlinux.org> | 2003-05-26 17:25:59 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2003-05-26 17:25:59 +0000 |
commit | 0748b95685f4041631fbfa1a8d6d5c79d0c95022 (patch) | |
tree | b1f907062781318b35b3a46a8e2d046d495afba0 /pkgdb | |
parent | dddb8b09af8bcd4666edc492a6ad178e74018e43 (diff) |
category bug
Diffstat (limited to 'pkgdb')
-rwxr-xr-x | pkgdb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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\");"` |