shithub: riscv

Download patch

ref: c624a207e4f5436e9ee6d473b477930226f386a9
parent: 55852fa53a24eab73e875fb50cd4a83c0e68aeb2
author: stanley lieber <[email protected]>
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'