view pixmaps/gen-inline-pixbufs.sh @ 9011:72a597e9e36d v7.4.1791

commit https://github.com/vim/vim/commit/674127e1801fd02ff07dddf0dc3bf0d8cce68997 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 26 20:30:07 2016 +0200 patch 7.4.1791 Problem: Channel could be garbage collected too early. Solution: Don't free a channel or remove it from a job when it is still useful.
author Christian Brabandt <cb@256bit.org>
date Tue, 26 Apr 2016 20: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