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

List:       kde-bugs-dist
Subject:    [Bug 142105] The script kexi/examples/build_kexi_file.sh doesn't work
From:       Moinak Ghosh <moinakg () gmail ! com>
Date:       2008-01-30 7:15:29
Message-ID: 20080130071529.31782.qmail () ktown ! kde ! org
[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         




------- Additional Comments From moinakg gmail com  2008-01-30 08:15 -------
/bin/sh on Solaris does not support the -ot and -nt test operators. /usr/bin/test can \
be used instead while retaining /bin/sh. Here is a suggested patch:

--- koffice-1.6.3/kexi/examples/build_kexi_file.sh      2008-01-30 12:19:04.582001168 \
                +0530
+++ koffice-1.6.3/kexi/examples/build_kexi_file.sh.new  2008-01-30 12:45:58.466988954 \
+0530  @ -22,7 +22,7  @
        kexi_file=$2
 fi

-if test -f "$kexi_file" -a ! "$kexi_file" -ot "$1" ; then
+if /usr/bin/test -f "$kexi_file" -a "$kexi_file" -nt "$1" ; then
        echo "Local $kexi_file is newer than $1 - skipping it"
        exit 0
 fi


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

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