-#!/bin/sh
-set -o errexit
-
-# First argument of this script is the package name
-
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
-
-PACKAGE=${1}
-
-# Applying patches (if any)
-apply_patches ${PACKAGE}
-
-FIREFOX_BUILD_DIR="${1}-build"
-FIREFOX_PKG_VERSION="firefox-$(get_pkg_ver ${PACKAGE})"
-
-cd ${LFS_TMP}/${PACKAGE}
-cat > .mozconfig << "EOF"
-# This file contains the options used in the Firefox build.
-
-# Use the default settings specified in the source tree
+#!/bin/bash
+
+hvbuild()
+{
+ FIREFOX_BUILD_DIR="${PACKAGE}-build"
+ FIREFOX_PKG_VERSION="firefox-$(get_pkg_ver ${PACKAGE})"
+
+ # This file contains the options used in the Firefox build.
+ cd ${LFS_TMP}/${PACKAGE}
+ cat > .mozconfig << "EOF"
+# Use the default settings specified in the source tree.
+# This includes the option --enable-application=browser