view pixmaps/gen-inline-pixbufs.sh @ 15529:233e2c585e03 v8.1.0772

patch 8.1.0772: the sign_define_by_name() function is too long commit https://github.com/vim/vim/commit/0314236aabcb2ca9d0b74074dadecf68d7c7ed5f Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 18 22:01:42 2019 +0100 patch 8.1.0772: the sign_define_by_name() function is too long Problem: The sign_define_by_name() function is too long. Solution: Split it into smaller functions. (Yegappan Lakshmanan, closes #3819)
author Bram Moolenaar <Bram@vim.org>
date Fri, 18 Jan 2019 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