view pixmaps/gen-inline-pixbufs.sh @ 10849:6ae12eba42b5 v8.0.0314

patch 8.0.0314: getcmd*() functions are not tested commit https://github.com/vim/vim/commit/65189a1294307abf007faab7385dc0145ba72b06 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 6 22:22:17 2017 +0100 patch 8.0.0314: getcmd*() functions are not tested Problem: getcmdtype(), getcmdpos() and getcmdline() are not tested. Solution: Add tests. (Yegappan Lakshmanan)
author Christian Brabandt <cb@256bit.org>
date Mon, 06 Feb 2017 22:30:03 +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