bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: typo in run_tic.sh


From: Jan.Starke
Subject: Re: typo in run_tic.sh
Date: Tue, 12 Jul 2022 07:11:27 +0000
User-agent: Evolution 3.40.4-1ubuntu2

I noticed it when running `make install`.

I'm trying to create a build against musl in a gitlab pipeline, which I finally need to build a debian package for regview, which is a ncurses-based Rust application to view Windows registry files. However, it took a long time fiddling around and reading error messages, which took me to this very error ;-) 

Kind regards, Jan

Am Montag, dem 11.07.2022 um 15:31 -0400 schrieb Thomas Dickey:
On Mon, Jul 11, 2022 at 01:43:31PM +0000, Jan.Starke@t-systems.com wrote:
Dear all,

there's a tiny typo in line 188 of run_tic.in (version 6.3): There is a space missing in front of the != operator.

I see :-(

interestingly enough, shellcheck doesn't see it.

Did you notice this by reading, or because it triggered an error on some
configuration?
 
diff --git a/misc/run_tic.in b/misc/run_tic.in
index b335b48e..399ed719 100644
--- a/misc/run_tic.in
+++ b/misc/run_tic.in
@@ -185,7 +185,7 @@ if test "$TICDIR" != "$TERMINFO" ; then
        then
                cd "$TICDIR"
                TICDIR=`pwd`
-               if test "$TICDIR "!= "$TERMINFO "; then
+               if test "$TICDIR " != "$TERMINFO "; then
                        # Well, we tried.  Some systems lie to us, so the
                        # installer will have to double-check.
                        echo "Verify if $TICDIR and $TERMINFO are the same."


Regards, Jan

--

T-Systems Multimedia Solutions GmbH

Jan Starke
IT Security Consultant
Certified Security
IT Forensics

E-Mail: jan.starke@t-systems.com<mailto:jan.starke@t-systems.com> 
Internet: https://www.certified-security.de
Hausanschrift: Riesaer Straße 5, 01129 Dresden
Telefon: +49 (351) 2820 5701
Mobil:    +49 (170) 4585537


Die gesetzlichen Pflichtangaben finden Sie unter: www.t-systems-mms.com/pflichtangaben<http://www.t-systems-mms.com/pflichtangaben>
This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium. In the event of any technical difficulty with this e-mail, please contact the sender.


-- 
T-Systems Multimedia Solutions GmbH 
 
Jan Starke 
IT Security Consultant 
Certified Security 
IT Forensics 
 
Hausanschrift: Riesaer Straße 5, 01129 Dresden 
Telefon: +49 (351) 2820 5701 
Mobil:    +49 (170) 4585537 
 
 
Die gesetzlichen Pflichtangaben finden Sie unter: www.t-systems-mms.com/pflichtangaben 
This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium. In the event of any technical difficulty with this e-mail, please contact the sender. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]