Bug 485264 - Not enough quotes in mozprog.m4 when suggestions contain spaces r=ted

This commit is contained in:
Benjamin Smedberg 2009-03-31 08:41:50 -04:00
parent 20d0770716
commit 93f76e0a2b
2 changed files with 4 additions and 4 deletions

View File

@ -48,7 +48,7 @@ AC_DEFUN(MOZ_PATH_PROG,
if test "$msyshost"; then
case "[$]$1" in
/*)
$1="$(cd $(dirname [$]$1) && pwd -W)/$(basename [$]$1)"
$1="$(cd $(dirname "[$]$1") && pwd -W)/$(basename "[$]$1")"
if test -e "[$]$1.exe"; then
$1="[$]$1.exe"
fi
@ -61,7 +61,7 @@ AC_DEFUN(MOZ_PATH_PROGS,
if test "$msyshost"; then
case "[$]$1" in
/*)
$1="$(cd $(dirname [$]$1) && pwd -W)/$(basename [$]$1)"
$1="$(cd $(dirname "[$]$1") && pwd -W)/$(basename "[$]$1")"
if test -e "[$]$1.exe"; then
$1="[$]$1.exe"
fi

View File

@ -48,7 +48,7 @@ AC_DEFUN(MOZ_PATH_PROG,
if test "$msyshost"; then
case "[$]$1" in
/*)
$1="$(cd $(dirname [$]$1) && pwd -W)/$(basename [$]$1)"
$1="$(cd $(dirname "[$]$1") && pwd -W)/$(basename "[$]$1")"
if test -e "[$]$1.exe"; then
$1="[$]$1.exe"
fi
@ -61,7 +61,7 @@ AC_DEFUN(MOZ_PATH_PROGS,
if test "$msyshost"; then
case "[$]$1" in
/*)
$1="$(cd $(dirname [$]$1) && pwd -W)/$(basename [$]$1)"
$1="$(cd $(dirname "[$]$1") && pwd -W)/$(basename "[$]$1")"
if test -e "[$]$1.exe"; then
$1="[$]$1.exe"
fi