Changeset 1490


Ignore:
Timestamp:
Jun 6, 2007, 4:29:17 PM (12 years ago)
Author:
bruno
Message:

Stricter POSIX conformance for all shell scripts (== replaced by = in compare)

Location:
branches/2.2.4
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.4/mindi/install.sh

    r1236 r1490  
    4242echo "mindi ${MINDIVER}-r${MINDIREV} will be installed under $local"
    4343
    44 if [ _"$MANDIR" == _"" ]; then
     44if [ _"$MANDIR" = _"" ]; then
    4545    MANDIR=$local/share/man/man8
    4646else
    4747    MANDIR=${HEAD}$MANDIR/man8
    4848fi
    49 if [ _"$DOCDIR" == _"" ]; then
     49if [ _"$DOCDIR" = _"" ]; then
    5050    DOCDIR=$local/share/doc/mindi-$MINDIVER
    5151else
    5252    DOCDIR=${HEAD}$DOCDIR/mindi-$MINDIVER
    5353fi
    54 if [ _"$LIBDIR" == _"" ]; then
     54if [ _"$LIBDIR" = _"" ]; then
    5555    ARCH=`/bin/arch`
    5656    echo $ARCH | grep -E '^i[0-9]86$' &> /dev/null && ARCH=i386 && locallib=$local/lib
  • branches/2.2.4/tools/build2qemu

    r1479 r1490  
    66#
    77
    8 #if [ _"$1" == _"" ]; then
     8#if [ _"$1" = _"" ]; then
    99    #echo "Syntax: build2qemu [version-tag [vm1]..|vmx]] )"
    1010    #exit -1
     
    1616dname=`dirname $0`
    1717prem=`echo $dname |cut -c1`
    18 if [ ${prem} == "/" ]; then
     18if [ ${prem} = "/" ]; then
    1919    export TOOLHOME=$dname
    2020else
     
    3737
    3838c=""
    39 if [ _"$1" == _"--pkg" ]; then
     39if [ _"$1" = _"--pkg" ]; then
    4040    shift
    4141    c=$1
     
    4343fi
    4444
    45 if [ _"$1" == _"" ]; then
     45if [ _"$1" = _"" ]; then
    4646    export VMS=`cat ${TOOLHOME}/DISTROS`
    4747    single=0
  • branches/2.2.4/tools/file2ftp

    r924 r1490  
    1010dname=`dirname $0`
    1111prem=`echo $dname |cut -c1`
    12 if [ ${prem} == "/" ]; then
     12if [ ${prem} = "/" ]; then
    1313    export TOOLHOME=$dname
    1414else
  • branches/2.2.4/tools/livwww

    r1011 r1490  
    3333dname=`dirname $0`
    3434prem=`echo $dname |cut -c1`
    35 if [ ${prem} == "/" ]; then
     35if [ ${prem} = "/" ]; then
    3636        export TOOLHOME=$dname
    3737else
     
    9191$TOOLHOME/mknewshtml.pl $LOCALDIR
    9292
    93 if [ _"$1" == _"" ]; then
     93if [ _"$1" = _"" ]; then
    9494        exit 0
    9595else
    96     if [ _"$1" == _"test" ]; then
     96    if [ _"$1" = _"test" ]; then
    9797        DESTDIR=$TESTDIR
    9898    else
  • branches/2.2.4/tools/mkannounce

    r1013 r1490  
    1010dname=`dirname $0`
    1111prem=`echo $dname |cut -c1`
    12 if [ ${prem} == "/" ]; then
     12if [ ${prem} = "/" ]; then
    1313    export TOOLHOME=$dname
    1414else
  • branches/2.2.4/tools/mknewtag

    r924 r1490  
    1010dname=`dirname $0`
    1111prem=`echo $dname |cut -c1`
    12 if [ ${prem} == "/" ]; then
     12if [ ${prem} = "/" ]; then
    1313    export TOOLHOME=$dname
    1414else
  • branches/2.2.4/tools/mknewversion

    r924 r1490  
    1010dname=`dirname $0`
    1111prem=`echo $dname |cut -c1`
    12 if [ ${prem} == "/" ]; then
     12if [ ${prem} = "/" ]; then
    1313    export TOOLHOME=$dname
    1414else
  • branches/2.2.4/tools/mkqemu

    r1475 r1490  
    2020
    2121ARCH=`/bin/arch`
    22 if [ $ARCH == "x86_64" ]; then
    23     qemucmd32=/usr//bin/qemu-system-i386
    24     qemucmd64=/usr//bin/qemu
     22if [ $ARCH = "x86_64" ]; then
     23    qemucmd32=/usr/bin/qemu-system-i386
     24    qemucmd64=/usr/bin/qemu
    2525else
    26     qemucmd32=/usr//bin/qemu
    27     qemucmd64=/usr//bin/qemu-system-x86_64
     26    qemucmd32=/usr/bin/qemu
     27    qemucmd64=/usr/bin/qemu-system-x86_64
    2828fi
    2929
  • branches/2.2.4/tools/pkg2fc

    r1396 r1490  
    99dname=`dirname $0`
    1010prem=`echo $dname |cut -c1`
    11 if [ ${prem} == "/" ]; then
     11if [ ${prem} = "/" ]; then
    1212        export TOOLHOME=$dname
    1313else
  • branches/2.2.4/tools/pkg2ftp

    r1441 r1490  
    1010dname=`dirname $0`
    1111prem=`echo $dname |cut -c1`
    12 if [ ${prem} == "/" ]; then
     12if [ ${prem} = "/" ]; then
    1313        export TOOLHOME=$dname
    1414else
  • branches/2.2.4/tools/pkg2mdv

    r1385 r1490  
    99dname=`dirname $0`
    1010prem=`echo $dname |cut -c1`
    11 if [ ${prem} == "/" ]; then
     11if [ ${prem} = "/" ]; then
    1212        export TOOLHOME=$dname
    1313else
  • branches/2.2.4/tools/svn2build

    r1471 r1490  
    99dname=`dirname $0`
    1010prem=`echo $dname |cut -c1`
    11 if [ ${prem} == "/" ]; then
     11if [ ${prem} = "/" ]; then
    1212        export TOOLHOME=$dname
    1313else
Note: See TracChangeset for help on using the changeset viewer.