view pixmaps/gen-inline-pixbufs.sh @ 31750:13cecb002fe6 v9.0.1207

patch 9.0.1207: error when object type is expected but getting "any" Commit: https://github.com/vim/vim/commit/450c7a97d1a28f715acaf562298112b9b932adc3 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 16 16:39:37 2023 +0000 patch 9.0.1207: error when object type is expected but getting "any" Problem: Error when object type is expected but getting "any". Solution: When actual type is "any" use a runtime type check. (closes #11826)
author Bram Moolenaar <Bram@vim.org>
date Mon, 16 Jan 2023 17:45:02 +0100
parents d4faa2c5211b
children
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