From ba6354e758faa4734d62bb61f6ec98f3cabcc761 Mon Sep 17 00:00:00 2001 From: gardners Date: Tue, 25 Oct 2011 13:39:56 +1030 Subject: [PATCH] Fixed a bug where the build process would be skipped due to incorrectly thinking that libnacl.a already exists, when it doesnt. --- nacl-gcc-prep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nacl-gcc-prep b/nacl-gcc-prep index 44e38933..d0f23d7b 100755 --- a/nacl-gcc-prep +++ b/nacl-gcc-prep @@ -7,7 +7,7 @@ fi mkdir -p nacl-source arlist=`find . -name libnacl.a` -arcount=`echo $arlist | wc -l` +arcount=`echo $arlist | wc -w` if [ $arcount -eq 0 ]; then cd nacl-source bzip2 -d ../nacl-source.tar | tar xvf -