Ticket #4063: installerfinishscript.patch

File installerfinishscript.patch, 471 bytes (added by idefix, 15 years ago)

Patch to fix the mount point checks in InstallerFinishScript

  • data/system/boot/InstallerFinishScript

     
    33
    44mount=$1
    55
    6 if [ -z $mount ]; then
     6if [ -z "$mount" ]; then
    77    echo "Usage: $0 volume"
    88    exit 1
    99fi
    1010
    11 if [ ! -d $mount ]; then
     11if [ ! -d "$mount" ]; then
    1212    echo "$mount isn't mounted"
    1313    exit 1
    1414fi