view pixmaps/gen-inline-pixbufs.sh @ 25579:d8fb5bb88362 v8.2.3326

patch 8.2.3326: Vim9: no error passing an empty list of the wrong type Commit: https://github.com/vim/vim/commit/6e48b84c5f08a7e192817aca0d8278ea2ff82bc7 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 10 22:52:02 2021 +0200 patch 8.2.3326: Vim9: no error passing an empty list of the wrong type Problem: Vim9: no error passing an empty list of the wrong type. Solution: Use ISN_SETTYPE also for "list<any>". (closes https://github.com/vim/vim/issues/8732)
author Bram Moolenaar <Bram@vim.org>
date Tue, 10 Aug 2021 23:00:06 +0200
parents 3fc0f57ecb91
children d4faa2c5211b
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