diff weave.sh @ 7:ce96610fe058

perl script is amazing
author Robert McIntyre <rlm@mit.edu>
date Mon, 24 Oct 2011 09:41:38 -0700
parents 5370428e673e
children 73beed20f7de
line wrap: on
line diff
     1.1 --- a/weave.sh	Mon Oct 24 09:29:17 2011 -0700
     1.2 +++ b/weave.sh	Mon Oct 24 09:41:38 2011 -0700
     1.3 @@ -5,7 +5,9 @@
     1.4  
     1.5  target=$(readlink -f $1)
     1.6  
     1.7 -dir=`pwd`
     1.8 +org=`dirname $target`
     1.9 +
    1.10 +dir=`dirname $org`
    1.11  
    1.12  emacsclient \
    1.13  --eval "