1
0
mirror of https://github.com/wfjm/w11.git synced 2026-04-24 19:40:39 +00:00

bin/*: drop superfluous exists for

This commit is contained in:
wfjm
2019-08-02 23:34:18 +02:00
parent 4f447bc05a
commit 84540478cd
16 changed files with 90 additions and 74 deletions

View File

@@ -1,10 +1,11 @@
#!/usr/bin/perl -w
# $Id: config_wrapper 1172 2019-06-29 07:27:24Z mueller $
# $Id: config_wrapper 1189 2019-07-13 16:41:07Z mueller $
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright 2010-2019 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
#
# Revision History:
# Date Rev Version Comment
# 2019-07-13 1189 1.1.10 drop superfluous exists for $opts
# 2018-12-18 1089 1.1.9 add and use bailout
# 2013-09-21 534 1.1.8 add nexys4 support
# 2013-01-02 467 1.1.7 jconfig: prepend '0x' to support 'jtag #2007'
@@ -48,7 +49,7 @@ if (not defined $opts{path}) {
autoflush STDOUT 1 if (-p STDOUT); # autoflush if output into pipe
if (exists $opts{help}) {
if ($opts{help}) {
print_help();
exit 0;
}