summaryrefslogtreecommitdiff
path: root/mk/check
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2014-03-11 23:27:40 +0000
committerryoon <ryoon@pkgsrc.org>2014-03-11 23:27:40 +0000
commit8aeea1e6e67af19a01d5a83fb72a9da4b87551bc (patch)
treead4634f4ca2ec0651fd42c400edb4133e877449b /mk/check
parent36479159bb8932d355d19300cf32f0bfb8bc6ff8 (diff)
downloadpkgsrc-8aeea1e6e67af19a01d5a83fb72a9da4b87551bc.tar.gz
Revert rev. 1.5
Diffstat (limited to 'mk/check')
-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] == "==") {