view pixmaps/gen-inline-pixbufs.sh @ 24420:e0fa539a9b34 v8.2.2750

patch 8.2.2750: Vim9: error for using underscore in nested function Commit: https://github.com/vim/vim/commit/da479c7597a61c4d50c842df21c9294bd9bf1037 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 10 21:01:38 2021 +0200 patch 8.2.2750: Vim9: error for using underscore in nested function Problem: Vim9: error for using underscore in nested function. Solution: Do not consider "_" already defined. (closes https://github.com/vim/vim/issues/8096)
author Bram Moolenaar <Bram@vim.org>
date Sat, 10 Apr 2021 21: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