We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fc6482 commit c4e15e2Copy full SHA for c4e15e2
1 file changed
build.sh
@@ -1,4 +1,4 @@
1
-#!/bin/bash
+#! /usr/bin/env bash
2
3
# Copyright (C) 2005-2021 Giorgio Maone <https://maone.net>
4
#
@@ -70,6 +70,8 @@ LIB="$SRC/lib"
70
71
NSCL="$SRC/nscl"
72
73
+# install html5_events.pl dependencies if needed
74
+cpan Regexp::List List::MoreUtils
75
if ./html5_events/html5_events.pl; then
76
# update full event list as an array in src/lib/DocumentFreezer.js
77
EVENTS=$(grep '^on[a-z]\+$' html5_events/html5_events_archive.txt | sed "s/^on//;s/.*/'&'/;H;1h;"'$!d;x;s/\n/, /g');
@@ -82,7 +84,7 @@ cp -pR "$SRC" "$BUILD"
82
84
# include nscl dependencies
83
85
"$NSCL/include.sh" "$BUILD"
86
-cp -p LICENSE COPYING "$BUILD"/
87
+cp -p LICENSE "$BUILD"/
88
89
BUILD_CMD="web-ext"
90
BUILD_OPTS="build --overwrite-dest"
0 commit comments