view pixmaps/gen-inline-pixbufs.sh @ 16001:416e067411ab v8.1.1006

patch 8.1.1006: repeated code in quickfix support commit https://github.com/vim/vim/commit/4aa47b28f453b40d3b93ef209a3447c62b6f855b Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 13 06:51:53 2019 +0100 patch 8.1.1006: repeated code in quickfix support Problem: Repeated code in quickfix support. Solution: Move code to functions. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/4091)
author Bram Moolenaar <Bram@vim.org>
date Wed, 13 Mar 2019 07:00:07 +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