diff options
author | Caleb Maclennan | 2023-06-14 17:52:58 +0300 |
---|---|---|
committer | Caleb Maclennan | 2024-02-07 13:48:24 +0300 |
commit | 08420c2279b2e2999ccbe70c9d8f284b10a748cb (patch) | |
tree | fc2d5085aa70430a9efc64c1c5d7be470a61665a | |
parent | 0aaeaa0490b58bbd78a79b9d3a3484c74d5fa0c1 (diff) | |
download | aur-08420c2279b2e2999ccbe70c9d8f284b10a748cb.tar.gz |
upgpkg: 24.5.0-3: Use more robust flag parsing, FS#77220
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | electron-launcher.sh | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -10,7 +10,7 @@ _use_suffix=1 pkgver=24.5.0 _chromiumver=112.0.5615.204 # shellcheck disable=SC2034 -pkgrel=2 +pkgrel=3 _major_ver=${pkgver%%.*} if [[ ${_use_suffix} != 0 ]]; then @@ -81,7 +81,7 @@ source=("git+https://github.com/electron/electron.git#tag=v$pkgver" sha256sums=('SKIP' 'SKIP' 'SKIP' - '77817939c9833f8dda74a8c75620c15747170551ffa6f14f7c5b4071599e8831' + 'b0ac3422a6ab04859b40d4d7c0fd5f703c893c9ec145c9894c468fbc0a4d457c' '4484200d90b76830b69eea3a471c103999a3ce86bb2c29e6c14c945bf4102bae' 'dd2d248831dd4944d385ebf008426e66efe61d6fdf66f8932c963a12167947b4' '55dbe71dbc1f3ab60bf1fa79f7aea7ef1fe76436b1d7df48728a1f8227d2134e' diff --git a/electron-launcher.sh b/electron-launcher.sh index ccb91012fbaf..3d861ef2bcd7 100644 --- a/electron-launcher.sh +++ b/electron-launcher.sh @@ -12,7 +12,7 @@ if [[ -f "${flags_file}" ]]; then fi for line in "${MAPFILE[@]}"; do - if [[ ! "${line}" =~ ^[[:space:]]*#.* ]]; then + if [[ ! "${line}" =~ ^[[:space:]]*#.* ]] && [[ -n "${line}" ]]; then flags+=("${line}") fi done |