view pixmaps/gen-inline-pixbufs.sh @ 10302:210af8588e8a v8.0.0047

commit https://github.com/vim/vim/commit/50e5376926dc2ec4a26a7a16f8f0f3213c4afdf0 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 27 14:49:15 2016 +0200 patch 8.0.0047 Problem: Crash when using the preview window from an unnamed buffer. (lifepillar) Solution: Do not clear the wrong buffer. (closes https://github.com/vim/vim/issues/1200)
author Christian Brabandt <cb@256bit.org>
date Thu, 27 Oct 2016 15:00:04 +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