[hackers] diri: new tip (= 58)

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Wed, 07 Feb 2007 13:50:02 +0100

changeset: 58:a64f868a5d37
tag: tip
user: arg_AT_suckless.org
date: Wed Feb 07 13:45:36 2007 +0100
files: show.rc
description:
fixing yet another cornercase

diff -r fb670f8e559c -r a64f868a5d37 show.rc
--- a/show.rc Wed Feb 07 13:39:17 2007 +0100
+++ b/show.rc Wed Feb 07 13:45:36 2007 +0100
@@ -30,7 +30,7 @@ if(test $PATH_INFO && echo $PATH_INFO |
         echo
         exit 0
 }
-if(! test $PATH_INFO || ~ $PATH_INFO '/')
+if(! test $PATH_INFO || ~ `{cleanname $PATH_INFO} '/')
         PATH_INFO=''
 if not
         PATH_INFO=`{cleanname $PATH_INFO | sed 's,^/,,'}
Received on Wed Feb 07 2007 - 13:50:02 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:54:57 UTC