view pixmaps/gen-inline-pixbufs.sh @ 23525:54ec7c8b7459 v8.2.2305

patch 8.2.2305: Vim9: "++var" and "--var" are silently accepted Commit: https://github.com/vim/vim/commit/b23279d7a2d28de5df942924b77cf23672fc684f Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 5 22:08:20 2021 +0100 patch 8.2.2305: Vim9: "++var" and "--var" are silently accepted Problem: Vim9: "++var" and "--var" are silently accepted. Solution: Give an error message.
author Bram Moolenaar <Bram@vim.org>
date Tue, 05 Jan 2021 22:15:04 +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