There was an error while loading. Please reload this page.
1 parent 834bdce commit f40c8f2Copy full SHA for f40c8f2
1 file changed
ext/dom/lexbor/patches/update-lexbor.sh
@@ -19,7 +19,10 @@ git clone "$LEXBOR_REPO" "$LEXBOR_TMP_DIR"
19
(cd "$LEXBOR_TMP_DIR" && git checkout "$LEXBOR_REF")
20
21
# Apply patches
22
-mapfile -t patches < <(ls "$PATCHES_DIR"/*.patch)
+patches=()
23
+for f in "$PATCHES_DIR"/*.patch; do
24
+ [ -e "$f" ] && patches+=("$f")
25
+done
26
cd "$LEXBOR_TMP_DIR"
27
for patch in "${patches[@]}"; do
28
if ! git am -3 "$patch"; then
0 commit comments