view pixmaps/gen-inline-pixbufs.sh @ 9215:d2d44592467d v7.4.1891

commit https://github.com/vim/vim/commit/9ed96efb3d47d46e9637da04656efff715102407 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 4 17:17:11 2016 +0200 patch 7.4.1891 Problem: Channel reading very long lines is slow. Solution: Collapse multiple buffers until a NL is found.
author Christian Brabandt <cb@256bit.org>
date Sat, 04 Jun 2016 17:30: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