diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2008-07-26 14:02:55 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2008-07-26 14:02:55 +0000 |
commit | 0b457b9cf0031502f263ee93a75e1af8e59bd364 (patch) | |
tree | f483301d7a0212eaf6ab19535cea74c2c9c43f17 /Tools | |
parent | * Cleanup (diff) |
* Implement basename and dirname using shell builtins
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/processfail | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/processfail b/Tools/portbuild/scripts/processfail index 11c3c9573eea..6246c76863e1 100755 --- a/Tools/portbuild/scripts/processfail +++ b/Tools/portbuild/scripts/processfail @@ -41,6 +41,14 @@ footer() { # header "<th>Port</th><th>Package</th><th>Broken</th><th>Last</th><th>#</th>" +dirname() { + echo ${1%/*} +} + +basename() { + echo ${1##*/} +} + sort -r -n -k 4 -t \| failure > newfailure IFS='|' while read dir name ver date last count; do |