[svn] / ecrypt / trunk / scripts / tools.sh  

svn: ecrypt/trunk/scripts/tools.sh

Diff for /ecrypt/trunk/scripts/tools.sh between version 113 and 114

version 113, Tue Nov 1 19:17:15 2005 UTC version 114, Tue Nov 1 23:19:43 2005 UTC
Line 109 
Line 109 
   
 relative ()  relative ()
 {  {
     dst=$(cd "$1" && pwd)/.;      dst=$(cd "$1" && pwd)/.; dst=${dst#/tmp_mnt};
     src=$(cd "$2" && pwd)/.;      src=$(cd "$2" && pwd)/.; src=${src#/tmp_mnt};
   
     while [ "$src" != "." ]; do      while [ "$src" != "." ]; do
         if [ "${dst%%/*}" = "${src%%/*}" ]; then          if [ "${dst%%/*}" = "${src%%/*}" ]; then


Generate output suitable for use with a patch program
Legend:
Removed from v.113  
changed lines
  Added in v.114

eSTREAM Project

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help