diff options
author | Wojtek Kosior <koszko@koszko.org> | 2021-10-14 13:29:57 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2021-10-14 13:29:57 +0200 |
commit | bd767301579c2253d34f60d4ebc4a647cbee5a53 (patch) | |
tree | 4cc90daa54fb86f61a726ce18d4c86851d9c3f91 /build.sh | |
parent | f318575f5a8a3533541b93ee6a018c5b35ee643b (diff) | |
download | browser-extension-bd767301579c2253d34f60d4ebc4a647cbee5a53.tar.gz browser-extension-bd767301579c2253d34f60d4ebc4a647cbee5a53.zip |
merge build system
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |