view pixmaps/gen-inline-pixbufs.sh @ 21198:8531ddd7dd63 v8.2.1150

patch 8.2.1150: ml_get error when using Python Commit: https://github.com/vim/vim/commit/bb790dcc46b74e6f9a1c4126be8a575f9fe73444 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 7 20:12:54 2020 +0200 patch 8.2.1150: ml_get error when using Python Problem: ml_get error when using Python. (Yegappan Lakshmanan) Solution: Check the line number is not out of range. Call "Check" with "fromObj" instead of "from".
author Bram Moolenaar <Bram@vim.org>
date Tue, 07 Jul 2020 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