Bug 367127 - Make mozconfig-find space-safe (e.g. spaces in C:\Documents and Settings\bsmedberg), r=dbaron

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@218595 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
benjamin%smedbergs.us
2007-01-18 16:05:13 +00:00
parent 91acc071bd
commit f55e43b90c
3 changed files with 13 additions and 13 deletions

View File

@@ -46,18 +46,18 @@
#
topsrcdir=$1
for _config in $MOZCONFIG \
$MOZ_MYCONFIG \
$topsrcdir/.mozconfig \
$topsrcdir/mozconfig \
$topsrcdir/mozconfig.sh \
$topsrcdir/myconfig.sh \
$HOME/.mozconfig \
$HOME/.mozconfig.sh \
$HOME/.mozmyconfig.sh
for _config in "$MOZCONFIG" \
"$MOZ_MYCONFIG" \
"$topsrcdir/.mozconfig" \
"$topsrcdir/mozconfig" \
"$topsrcdir/mozconfig.sh" \
"$topsrcdir/myconfig.sh" \
"$HOME/.mozconfig" \
"$HOME/.mozconfig.sh" \
"$HOME/.mozmyconfig.sh"
do
if test -f $_config; then
echo $_config;
if test -f "$_config"; then
echo "$_config";
exit 0
fi
done

View File

@@ -101,7 +101,7 @@ echo "# PATH=$PATH" >> $tmp_file
if [ "$MOZCONFIG" ]
then
. $MOZCONFIG
. "$MOZCONFIG"
fi
if [ "$opts" ]; then

View File

@@ -115,7 +115,7 @@ done
MOZCONFIG=`$_AUTOCONF_TOOLS_DIR/mozconfig-find $topsrcdir`
if [ "$MOZCONFIG" ]; then
. $MOZCONFIG
. "$MOZCONFIG"
fi
if [ "$mozconfig_ac_options" ]; then