diff options
author | mat <mat@FreeBSD.org> | 2017-11-10 19:59:17 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2017-11-10 19:59:17 +0800 |
commit | ab8d2286f33ec15f2230d6d2a688e822cafa5337 (patch) | |
tree | 7c5649fdccca2686bf8920ba9b9e635dce00693c /Tools | |
parent | a090347f659e0a2e47bbc65a9e33d9a4f40611f4 (diff) | |
download | freebsd-ports-gnome-ab8d2286f33ec15f2230d6d2a688e822cafa5337.tar.gz freebsd-ports-gnome-ab8d2286f33ec15f2230d6d2a688e822cafa5337.tar.zst freebsd-ports-gnome-ab8d2286f33ec15f2230d6d2a688e822cafa5337.zip |
Add braces around all if/else.
Sponsored by: Absolight
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/MOVEDlint.awk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/scripts/MOVEDlint.awk b/Tools/scripts/MOVEDlint.awk index 1b5d94074d78..3b80ef99114d 100755 --- a/Tools/scripts/MOVEDlint.awk +++ b/Tools/scripts/MOVEDlint.awk @@ -80,10 +80,11 @@ $3 !~ /^20[0-3][0-9]-[01][0-9]-[0-3][0-9]$/ { } lastdate = $3 - if (system("test -f " portsdir "/" $1 "/Makefile")) + if (system("test -f " portsdir "/" $1 "/Makefile")) { delete missing[$1] - else + } else { resurrected[$1] = NR + } if ($2) { if (system("test -f " portsdir "/" $2 "/Makefile")) |