Changeset 1042 in MondoRescue for branches/stable/tools/build2qemu


Ignore:
Timestamp:
Jan 7, 2007, 12:10:23 PM (14 years ago)
Author:
Bruno Cornec
Message:

Syntax review (== suppresse for stricter POSIX conformance with =)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/build2qemu

    r1012 r1042  
    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.