diff options
author | ryoon <ryoon@pkgsrc.org> | 2014-03-11 23:27:40 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2014-03-11 23:27:40 +0000 |
commit | 8aeea1e6e67af19a01d5a83fb72a9da4b87551bc (patch) | |
tree | ad4634f4ca2ec0651fd42c400edb4133e877449b /mk/check | |
parent | 36479159bb8932d355d19300cf32f0bfb8bc6ff8 (diff) | |
download | pkgsrc-8aeea1e6e67af19a01d5a83fb72a9da4b87551bc.tar.gz |
Revert rev. 1.5
Diffstat (limited to 'mk/check')
-rw-r--r-- | mk/check/check-portability.awk | 4 |
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] == "==") { |