From 97e30b0f11bf71542da61818c1e759beae42bb98 Mon Sep 17 00:00:00 2001
From: Mircea Bardac <dev@mircea.bardac.net>
Date: Mon, 26 May 2008 21:43:27 +0000
Subject: [PATCH] fix usage of find and sed

git-svn-id: svn+ssh://svn.psi-im.org/home/psi/svn/win-installer/trunk@29 2d3a5ac0-73f9-4639-b284-2310bd1da355
---
 tools/prepfiles | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/prepfiles b/tools/prepfiles
index 30f526b..d19bd89 100644
--- a/tools/prepfiles
+++ b/tools/prepfiles
@@ -13,7 +13,7 @@ infile=$1
 echo $infile
 yes A | unzip -q $infile # | grep -v "warning" | grep -v "chmod"
 
-indir=$(find -type d | grep / | head -n 1 | sed "s|./||g")
+indir=$(find . -type d | grep '/' | head -n 1 | sed 's|./||g')
 
 find $indir -type d > directories.list
 
-- 
2.21.0