view pixmaps/gen-inline-pixbufs.sh @ 22527:c3e3c5707fe9 v8.2.1812

patch 8.2.1812: Vim9: nested closure throws an internal error Commit: https://github.com/vim/vim/commit/0876c78527469ddf50c23244566dd5bc35004307 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 7 19:08:04 2020 +0200 patch 8.2.1812: Vim9: nested closure throws an internal error Problem: Vim9: nested closure throws an internal error. Solution: Do not skip a local variable with a partial. (closes https://github.com/vim/vim/issues/7065)
author Bram Moolenaar <Bram@vim.org>
date Wed, 07 Oct 2020 19:15:04 +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