aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/build.sh b/build.sh
index 80978e9..936ab06 100755
--- a/build.sh
+++ b/build.sh
@@ -175,7 +175,7 @@ build_main() {
POPUPSCRIPTS="$(as_html_list $COMPUTED_SCRIPTS)"
eval "$(compute_scripts_list html/options_main.js || exit 1)"
OPTIONSSCRIPTS="$(as_html_list $COMPUTED_SCRIPTS)"
-
+
for DIR in $(find $SCRIPTDIRS -type d); do
mkdir -p "$BUILDDIR"/$DIR
done
@@ -183,7 +183,7 @@ build_main() {
CHROMIUM_KEY=''
CHROMIUM_UPDATE_URL=''
GECKO_APPLICATIONS=''
-
+
if [ "x$UPDATE_URL" != x ]; then
UPDATE_URL=",\n \"update_url\": \"$UPDATE_URL\""
fi
@@ -302,7 +302,7 @@ main() {
errcho "usage: $0 mozilla|chromium [source directory] [update url]"
exit 1
fi
-
+
SRCDIR="${2:-.}"
if [ -d "$SRCDIR" ]; then
BUILDDIR="$(realpath $BROWSER-unpacked)"
@@ -313,7 +313,7 @@ main() {
errcho "usage: $0 mozilla|chromium [source directory] [update url]"
exit 2
fi
-
+
UPDATE_URL="$3"
. ./shell_utils.sh