view pixmaps/gen-inline-pixbufs.sh @ 9093:ad9322b525e1 v7.4.1831

commit https://github.com/vim/vim/commit/e40d75f6ef73095286b66e546c70ff6f045e009d Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 15 18:00:19 2016 +0200 patch 7.4.1831 Problem: When timer_stop() is called with a string there is no proper error message. Solution: Require getting a number. (Bjorn Linse)
author Christian Brabandt <cb@256bit.org>
date Sun, 15 May 2016 18:15: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