ref: aa084b31fc79a1f3a51005cb1136098bff9168dd
parent: f540f6485645da097b2ea50ed4135d8ee9c1b94f
author: stanley lieber <stanley.lieber@gmail.com>
date: Sun May 15 03:11:19 EDT 2011
pkg/list: correct listing for file system directories
--- a/sys/src/cmd/pkg/list
+++ b/sys/src/cmd/pkg/list
@@ -6,4 +6,4 @@
if(~ $pkgpath ftp* http*)
hget $pkgpath | htmlfmt | grep '\.tbz' | sed -e 's/\.tbz$//'
if not
- ls -p $pkgpath
+ ls -p $pkgpath/*.tbz | sed 's/\.tbz//g'
--
⑨