Overview
Comment:Added missing quotes to conditional expression.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: afaf42444a0d9b3294bac7ee3498b81778c77deaeb70c2c64052332d0db65ff2
User & Date: geraint@users.sourceforge.net on 2005-02-17 22:15:35
Other Links: branch diff | manifest | tags
Context
2005-02-18
14:45:09
typo. check-in: b876b6cd30 user: geraint@users.sourceforge.net tags: origin/master, trunk
2005-02-17
22:15:35
Added missing quotes to conditional expression. check-in: afaf42444a user: geraint@users.sourceforge.net tags: origin/master, trunk
18:54:23
Fixed a bash-sim: replaced let with $(( )) check-in: 9b647af872 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt_versions from [1a4f57c0f6] to [a364ee2efb].

10
11
12
13
14
15
16



17
18
19
20
21
22
23
# Copyright (c) P.J.Gawthrop 1998

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



## Revision 1.4  2003/08/06 22:39:40  geraint
## Fixed reporting of non-existent software, no longer says "is OK and has version .".
##
## Revision 1.3  2002/04/28 18:41:26  geraint
## Fixed [ 549658 ] awk should be gawk.
## Replaced calls to awk with call to gawk.
##







>
>
>







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright (c) P.J.Gawthrop 1998

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.5  2005/02/17 18:36:38  geraint
## Removed a bash-ism: replaced [[ conditional ]] with [ conditional ]
##
## Revision 1.4  2003/08/06 22:39:40  geraint
## Fixed reporting of non-existent software, no longer says "is OK and has version .".
##
## Revision 1.3  2002/04/28 18:41:26  geraint
## Fixed [ 549658 ] awk should be gawk.
## Replaced calls to awk with call to gawk.
##
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
echo Doing the non-GNU components

print_version ()
{
    program=${1:-"Error: unknown program"}
    shift;
    version=$*
    if [ ${version:-""} ]; then
	echo is OK and has version $version.
    else
	echo $program does not exist.
    fi
}

echo Trying xfig ...







|







56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
echo Doing the non-GNU components

print_version ()
{
    program=${1:-"Error: unknown program"}
    shift;
    version=$*
    if [ "${version:-""}" ]; then
	echo is OK and has version $version.
    else
	echo $program does not exist.
    fi
}

echo Trying xfig ...


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]