view pixmaps/gen-inline-pixbufs.sh @ 9397:e08e8b00fe48 v7.4.1980

commit https://github.com/vim/vim/commit/361c8f0e517e41f1f1d34dae328044406fde80ac Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 2 15:41:47 2016 +0200 patch 7.4.1980 Problem: 'errorformat' is parsed for every call to ":caddexpr". Can't add to two location lists asynchronously. Solution: Keep the previously parsed data when appropriate. (mostly by Yegappan Lakshmanan)
author Christian Brabandt <cb@256bit.org>
date Sat, 02 Jul 2016 15:45:05 +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