Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 27573:68eac9355e49 v8.2.4313
patch 8.2.4313: Vim9: cannot change type of list after making a slice
Commit: https://github.com/vim/vim/commit/5f4ef5f5e5529c147c2274cd0f6416e2546d6fc7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 6 18:36:53 2022 +0000
patch 8.2.4313: Vim9: cannot change type of list after making a slice
Problem: Vim9: cannot change type of list after making a slice.
Solution: Adjust the declared member type. (closes https://github.com/vim/vim/issues/9696)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 06 Feb 2022 19:45:02 +0100 |
parents | d4faa2c5211b |
children |
line wrap: on
line source
#! /bin/sh prefix=stock_ list= for file in "$@"; do name=$(echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||') list="$list $prefix$name $file" done gdk-pixbuf-csource --raw --static --build-list $list