Commit 97e30b0f authored by Mircea Bardac's avatar Mircea Bardac

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
parent 4bff9e9f
...@@ -13,7 +13,7 @@ infile=$1 ...@@ -13,7 +13,7 @@ infile=$1
echo $infile echo $infile
yes A | unzip -q $infile # | grep -v "warning" | grep -v "chmod" 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 find $indir -type d > directories.list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment