view pixmaps/gen-inline-pixbufs.sh @ 9307:eb52a2670c96 v7.4.1936

commit https://github.com/vim/vim/commit/67e3720a9ddd8a9d2e8344358c28fa1f4196db0d Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 14 21:32:28 2016 +0200 patch 7.4.1936 Problem: Off-by-one error in bounds check. (Coverity) Solution: Check register number properly.
author Christian Brabandt <cb@256bit.org>
date Tue, 14 Jun 2016 21:45:06 +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