URL:
  <http://gna.org/bugs/?11496>

                 Summary: Unportable test(1) construct
                 Project: Battle for Wesnoth
            Submitted by: wiz
            Submitted on: Monday 04/14/2008 at 21:50
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group:  None of the others
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.4.1
        Operating System: NetBSD

    _______________________________________________________

Details:

wesnoth-1.4.1 uses the unportable                                            
                  bash "==" comparison operator for test(1). It is not
supported by                                                                 
     most other shells or even test(1) from GNU coreutils. Please use         
                                                        "=" instead.

This affects the following lines.
configure: if test $svn_in_version == 0
utils/mp-server/run_server: if [ "$SERVER" == "1.2" ]; then
utils/mp-server/send_server_message: if [ "$*" == "" ]; then
utils/mp-server/update_server: if [ "$rev" == "" ]; then





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?11496>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to