view pixmaps/gen-inline-pixbufs.sh @ 23252:35583da6397e v8.2.2172

patch 8.2.2172: Vim9: number of arguments is not always checked Commit: https://github.com/vim/vim/commit/5082471f91dd42ed8c35e0f649d0a6572e6fe3fc Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 20 21:10:17 2020 +0100 patch 8.2.2172: Vim9: number of arguments is not always checked Problem: Vim9: number of arguments is not always checked. (Yegappan Lakshmanan) Solution: Check number of arguments when calling function by name.
author Bram Moolenaar <Bram@vim.org>
date Sun, 20 Dec 2020 21:15:03 +0100
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