Permalink
Browse files

osx find likes to include lots of slashes

  • Loading branch information...
1 parent ec00d8e commit 282e2c7d114f4ee874f7187726e81ce3fbcde926 @richo richo committed Mar 22, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 code/ext/bin/merge
  2. +1 −1 code/ext/vim/merge
View
@@ -2,7 +2,7 @@
pwd=`pwd`
# TODO Use the right variable for this
binpath=$HOME/
-merge_pattern="^\./(bin)/"
+merge_pattern="^\.//?(bin)/"
for i in `ls -d */`; do
cd $i
View
@@ -2,7 +2,7 @@
pwd=`pwd`
# TODO Use the right variable for this
vimpath=$HOME/.vim
-merge_pattern="^\./(plugin|autoload|colors|doc|ftplugin|ftdetect|syntax)/"
+merge_pattern="^\.//?(plugin|autoload|colors|doc|ftplugin|ftdetect|syntax)/"
for i in `ls -d */`; do
cd $i

0 comments on commit 282e2c7

Please sign in to comment.