[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 142105] New: The script kexi/examples/build_kexi_file.sh doesn't
From:       stevee () zuken ! co ! uk
Date:       2007-02-23 13:16:29
Message-ID: 20070223141626.142105.stevee () zuken ! co ! uk
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=142105         
           Summary: The script kexi/examples/build_kexi_file.sh doesn't work
                    on Solaris 8 when building
           Product: kexi
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: js iidea pl
        ReportedBy: stevee zuken co uk


Version:           1.6.2 (using KDE KDE 3.5.6)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4.6 
OS:                Solaris

I get this error when building on Solaris 8

./build_kexi_file.sh ./Simple_Database.kexi.sql ../../kexi/examples/Simple_Database.kexi
./build_kexi_file.sh: test: unknown operator -ot

This is because the script:

1. Has #!/bin/sh as its first line. On Solaris /bin/sh is the Bourne shell, not bash
2. The script uses the test operator -ot which is not available in the Bourne shell

I have worked around the problem by changing #!/bin/sh to #!/bin/bash
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic