view pixmaps/gen-inline-pixbufs.sh @ 25471:3678a11e71fa v8.2.3272

patch 8.2.3272: cannot use id zero with prop_find() Commit: https://github.com/vim/vim/commit/e041dde7bb9157644fa5135a252c84924b9ea433 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 1 21:30:12 2021 +0200 patch 8.2.3272: cannot use id zero with prop_find() Problem: Cannot use id zero with prop_find(). (Naohiro Ono) Solution: Also accept id zero.
author Bram Moolenaar <Bram@vim.org>
date Sun, 01 Aug 2021 21:45:03 +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