diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2016-07-26 11:03:51 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-08-18 10:01:25 +0200 |
commit | b66e224d79d66086164655b9030bf6dffb2f32a2 (patch) | |
tree | 93cef0798c3433034491287b1ea26aacc0e26b31 /scripts | |
parent | 81c8363c0967dac5ed5320dd5e60ed16b3df2ef6 (diff) | |
download | sonarqube-b66e224d79d66086164655b9030bf6dffb2f32a2.tar.gz sonarqube-b66e224d79d66086164655b9030bf6dffb2f32a2.zip |
wc accepts files as input parameter.
Signed-off-by: Sébastien Lesaint <sebastien.lesaint@sonarsource.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/property_utils.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/property_utils.sh b/scripts/property_utils.sh index 8ac285af760..ea1545d5b24 100755 --- a/scripts/property_utils.sh +++ b/scripts/property_utils.sh @@ -10,7 +10,7 @@ set -euo pipefail function cnt_lines() { local FILE=$1 - cat $FILE | wc -l + wc -l $1 } function write_prop() { |