summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorryoon <ryoon>2014-03-11 23:27:40 +0000
committerryoon <ryoon>2014-03-11 23:27:40 +0000
commit5f4cf83b997d4291203b99d1138786bbcea3792a (patch)
treead4634f4ca2ec0651fd42c400edb4133e877449b /mk
parent710f4dd138e35939e54754ab51162e1c69190c86 (diff)
downloadpkgsrc-5f4cf83b997d4291203b99d1138786bbcea3792a.tar.gz
Revert rev. 1.5
Diffstat (limited to 'mk')
-rw-r--r--mk/check/check-portability.awk4
1 files changed, 1 insertions, 3 deletions
diff --git a/mk/check/check-portability.awk b/mk/check/check-portability.awk
index 8ecbd5014d8..e5fdbfd23a6 100644
--- a/mk/check/check-portability.awk
+++ b/mk/check/check-portability.awk
@@ -1,4 +1,4 @@
-# $NetBSD: check-portability.awk,v 1.7 2014/03/11 23:23:01 ryoon Exp $
+# $NetBSD: check-portability.awk,v 1.8 2014/03/11 23:27:40 ryoon Exp $
#
# Checks a shell file for possible portability problems.
#
@@ -31,8 +31,6 @@ function check_random(line) {
function check_test_eqeq(line, n, word, i) {
- if (length(line) ==0 || length(word) == 0)
- return;
n = split(line, word);
for (i = 3; i < n; i++) {
if (word[i] == "==") {