view pixmaps/gen-inline-pixbufs.sh @ 24414:f539864ba851 v8.2.2747

patch 8.2.2747: Vim9: not always an error for too many function arguments Commit: https://github.com/vim/vim/commit/bb8a7ce0a1bcfafca715275dbadc2ead612f82dd Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 10 20:10:26 2021 +0200 patch 8.2.2747: Vim9: not always an error for too many function arguments Problem: Vim9: not always an error for too many function arguments. Solution: Check for getting too many arguments.
author Bram Moolenaar <Bram@vim.org>
date Sat, 10 Apr 2021 20: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