summaryrefslogtreecommitdiffstats
path: root/xorg/X11R7.6/buildx.sh
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2016-10-20 18:49:11 +0900
committerKoichiro IWAO <meta@vmeta.jp>2016-10-21 17:11:10 +0900
commitcf1a99b4e21e735bdc9357e3333e270720595be1 (patch)
treec13eabfcf129d67a729e713ee56896b8f90a72ca /xorg/X11R7.6/buildx.sh
parent85e98d211a4cad94ebcd87c91966c8f30e4e0b9d (diff)
downloadxrdp-proprietary-cf1a99b4e21e735bdc9357e3333e270720595be1.tar.gz
xrdp-proprietary-cf1a99b4e21e735bdc9357e3333e270720595be1.zip
buildx.sh: simplify counting lines
Diffstat (limited to 'xorg/X11R7.6/buildx.sh')
-rwxr-xr-xxorg/X11R7.6/buildx.sh2
1 files changed, 1 insertions, 1 deletions
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
##########################