view pixmaps/gen-inline-pixbufs.sh @ 7885:6e6f829af138 v7.4.1239

commit https://github.com/vim/vim/commit/df5b27b20ec023274fb0f5347973d5abcde7ddd6 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 2 18:43:17 2016 +0100 patch 7.4.1239 Problem: JSON message after the first one is dropped. Solution: Put remainder of message back in the queue.
author Christian Brabandt <cb@256bit.org>
date Tue, 02 Feb 2016 18:45: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