Mercurial > vim
annotate ci/load-snd-dummy.sh @ 21479:90d859a402cc v8.2.1290
patch 8.2.1290: Vim9: cannot replace a global function
Commit: https://github.com/vim/vim/commit/925e9fd6339981c1015410e1b6a6dd19e34f36cc
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 25 15:41:11 2020 +0200
patch 8.2.1290: Vim9: cannot replace a global function
Problem: Vim9: cannot replace a global function.
Solution: Allow for "!" on a global function. (closes https://github.com/vim/vim/issues/6524) Also fix that
:delfunc on a :def function only made it empty.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 25 Jul 2020 15:45:04 +0200 |
parents | c94c103e7cb4 |
children | 3a7017ee1161 |
rev | line source |
---|---|
19722
c94c103e7cb4
patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 #!/bin/bash |
c94c103e7cb4
patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 set -e |
c94c103e7cb4
patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 |
c94c103e7cb4
patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 if ! modprobe snd-dummy; then |
c94c103e7cb4
patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 # snd-dummy is contained in linux-modules-extra (if exists) |
c94c103e7cb4
patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 apt install -y "linux-modules-extra-$(uname -r)" |
c94c103e7cb4
patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 modprobe snd-dummy |
c94c103e7cb4
patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 fi |