From a8cf20754911e719c678560fdff9fe47399e198e Mon Sep 17 00:00:00 2001 From: Erik van der Kouwe Date: Wed, 9 Jun 2010 14:32:19 +0000 Subject: [PATCH] release.sh: avoid egrep -x which the base system doesn't support --- tools/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/release.sh b/tools/release.sh index 9feff8f9d..ca3441f95 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -131,7 +131,7 @@ fitfs() indir="`expr $BS / 4`" indir2="`expr $indir \* $indir`" formula="s=\\0;d=(s+$BS-1)/$BS;i=(d-$dir+$indir-1)/$indir;j=(i-1+$indir2-1)/$indir2;d+i+j" - zones=`( find $path | egrep -v ^$path/usr | xargs lstat -size | egrep -x "[0-9]+" | sed -r "s|.+|$formula|" | bc | tr ' + zones=`( find $path | egrep -v ^$path/usr | xargs lstat -size | egrep '^[0-9]+$' | sed -r "s|.+|$formula|" | bc | tr ' ' +; echo 0 ) | bc` zones="`expr $zones + $extra_zones`" -- 2.44.0