Mercurial > vim
view ci/load-snd-dummy.sh @ 23879:9ddf1a537fc2
patch 8.2.2481: Vim9: confusing error when variable arguments have default
Commit: https://github.com/vim/vim/commit/4f53b79bf5f8b0de7c6933fd157894ba7a53f35e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 7 15:59:49 2021 +0100
patch 8.2.2481: Vim9: confusing error when variable arguments have default
Problem: Vim9: confusing error when variable arguments have a default
value.
Solution: Give a specific error message. (closes #7793)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Feb 2021 16:00:04 +0100 |
parents | 3a7017ee1161 |
children |
line wrap: on
line source
#!/bin/bash set -e if ! modprobe snd-dummy; then # snd-dummy is contained in linux-modules-extra (if exists) apt-get install -yq --no-install-suggests --no-install-recommends "linux-modules-extra-$(uname -r)" modprobe snd-dummy fi