2009-01-12 [wwp] 3.7.0cvs33

* tools/fix_date.sh
	* tools/popfile-link.sh
	* tools/textviewer.sh
		Fix bashisms and other portability glitches (thanks to
		Steven M. Bellovin).
This commit is contained in:
Tristan Chabredier 2009-01-12 11:17:56 +00:00
parent cf4dab3fb6
commit 8d23465850
6 changed files with 17 additions and 8 deletions

View file

@ -1,3 +1,11 @@
2009-01-12 [wwp] 3.7.0cvs33
* tools/fix_date.sh
* tools/popfile-link.sh
* tools/textviewer.sh
Fix bashisms and other portability glitches (thanks to
Steven M. Bellovin).
2009-01-11 [paul] 3.7.0cvs32
* src/addrindex.c

View file

@ -3694,3 +3694,4 @@
( cvs diff -u -r 1.213.2.186 -r 1.213.2.187 src/folder.c; ) > 3.7.0cvs30.patchset
( cvs diff -u -r 1.28.2.39 -r 1.28.2.40 src/addrindex.c; ) > 3.7.0cvs31.patchset
( cvs diff -u -r 1.28.2.40 -r 1.28.2.41 src/addrindex.c; ) > 3.7.0cvs32.patchset
( cvs diff -u -r 1.1.2.5 -r 1.1.2.6 tools/fix_date.sh; cvs diff -u -r 1.1.2.2 -r 1.1.2.3 tools/popfile-link.sh; cvs diff -u -r 1.4.2.4 -r 1.4.2.5 tools/textviewer.sh; ) > 3.7.0cvs33.patchset

View file

@ -11,7 +11,7 @@ MINOR_VERSION=7
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_VERSION=32
EXTRA_VERSION=33
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=

View file

@ -26,16 +26,16 @@
# If no X-Original-Date already exist, the former Date value will be set
# in such field.
VERSION="0.0.4"
VERSION="0.0.5"
function version()
version()
{
echo "$VERSION"
exit 0
}
function usage()
usage()
{
echo "usage:"
echo " ${0##*/} [<switches>] <filename> [<filename> ..]"
@ -50,7 +50,7 @@ function usage()
exit $1
}
function date_valid()
date_valid()
{
test $STRICT -eq 1 && \
REGEXP="$DATE_REGEXP_STRICT" || \

View file

@ -24,7 +24,7 @@
# the web browser set in Claws Mail prefs.
function open_page()
open_page()
{
TMPCMD=$(echo $OPEN_CMD | sed "s|\"%s\"|$1|")
$TMPCMD &
@ -32,7 +32,7 @@ function open_page()
SESSION_ID=""
if [ "$1" == "--ask-session-id" ]
if [ "$1" = "--ask-session-id" ]
then
shift
SESSION_ID=$(gxmessage -entry -center -wrap -buttons "OK:0,Cancel:1" -default "OK" \

View file

@ -133,7 +133,7 @@ case "$FNAME" in
*.xls) TYPE=EXCEL ;;
esac
if [ "$TYPE" == "" ]
if [ "$TYPE" = "" ]
then
case $FILETYPE in
*"HTML"*) TYPE=HTML ;;