pkg/list: correct listing for file system directories

This commit is contained in:
stanley lieber 2011-05-15 07:11:19 +00:00
parent 55852fa53a
commit c624a207e4

View file

@ -6,4 +6,4 @@ if(~ $#pkgpath 0)
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'