Bug 380846. Bustage fix for Solaris and K/Ubuntu. Patch by Alfred Peng <alfred.peng@sun.com>. r=bsmedberg.
--- a/allmakefiles.sh
+++ b/allmakefiles.sh
@@ -1332,17 +1332,17 @@ fi
fi
if [ "$MOZ_PREF_EXTENSIONS" ]; then
MOZ_EXTENSIONS="$MOZ_EXTENSIONS pref"
fi
for extension in $MOZ_EXTENSIONS; do
if [ -f "${srcdir}/extensions/${extension}/makefiles.sh" ]; then
- source "${srcdir}/extensions/${extension}/makefiles.sh"
+ . "${srcdir}/extensions/${extension}/makefiles.sh"
fi
done
MAKEFILES_themes=`cat ${srcdir}/themes/makefiles`
add_makefiles "
$MAKEFILES_caps
$MAKEFILES_chrome
@@ -1462,10 +1462,10 @@ if test -n "$MOZ_ENABLE_GTK2"; then
add_makefiles "$MAKEFILES_gnome"
fi
if test -n "$MOZ_STORAGE"; then
add_makefiles "$MAKEFILES_storage"
fi
if test -f "${srcdir}/${MOZ_BUILD_APP}/makefiles.sh"; then
- source "${srcdir}/${MOZ_BUILD_APP}/makefiles.sh"
+ . "${srcdir}/${MOZ_BUILD_APP}/makefiles.sh"
fi
--- a/configure.in
+++ b/configure.in
@@ -4318,17 +4318,17 @@ else
fi
fi
# Allow the application to influence configure with a confvars.sh script.
AC_MSG_CHECKING([if app-specific confvars.sh exists])
if test -f "${srcdir}/${MOZ_BUILD_APP}/confvars.sh" ; then
AC_MSG_RESULT([${srcdir}/${MOZ_BUILD_APP}/confvars.sh])
- source "${srcdir}/${MOZ_BUILD_APP}/confvars.sh"
+ . "${srcdir}/${MOZ_BUILD_APP}/confvars.sh"
else
AC_MSG_RESULT([no])
fi
# Now is a good time to test for logic errors, define mismatches, etc.
case "$MOZ_BUILD_APP" in
xulrunner)
if test "$LIBXUL_SDK"; then