wok-current rev 9555
busybox/httpd: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 10 14:23:26 2011 +0200 (2011-04-10) |
parents | 227a90815de5 |
children | 30937e5ffc8d |
files | busybox/stuff/busybox-1.18-httpd.u |
line diff
1.1 --- a/busybox/stuff/busybox-1.18-httpd.u Sun Apr 10 12:25:05 2011 +0000 1.2 +++ b/busybox/stuff/busybox-1.18-httpd.u Sun Apr 10 14:23:26 2011 +0200 1.3 @@ -20,7 +20,7 @@ 1.4 <body> 1.5 <h1>Index of $path</h1> 1.6 <ul> 1.7 -$(cd ${PWD/?index.cgi/}$path && { [ "$path" != "/" ] && echo "../"; ls -p; } | \ 1.8 +$(cd $PWD/..$path && { [ "$path" != "/" ] && echo "../"; ls -p; } | \ 1.9 sed 's|.*| <li><a href="&">&</a></li>|') 1.10 </ul> 1.11 </body>