Changeset 1490 in MondoRescue for branches/2.2.4/tools/build2qemu


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.