From cf1a99b4e21e735bdc9357e3333e270720595be1 Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Thu, 20 Oct 2016 18:49:11 +0900 Subject: [PATCH] buildx.sh: simplify counting lines --- xorg/X11R7.6/buildx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xorg/X11R7.6/buildx.sh b/xorg/X11R7.6/buildx.sh index ca0b29a9..c51c2b04 100755 --- a/xorg/X11R7.6/buildx.sh +++ b/xorg/X11R7.6/buildx.sh @@ -180,7 +180,7 @@ data_file=x11_file_list.txt # was www.x.org/releases/X11R7.6/src/everything download_url=http://server1.xrdp.org/xrdp/X11R7.6 -num_modules=`cat $data_file | wc -l` +num_modules=`wc -l < $data_file` count=0 ##########################