view pixmaps/gen-inline-pixbufs.sh @ 7262:fadf7fc3b666 v7.4.939

commit https://github.com/vim/vim/commit/9a7d58e42ed54406437c2394e5a489ee6a9e4220 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 24 17:23:56 2015 +0100 patch 7.4.939 Problem: Memory leak when encountering a syntax error. Solution: Free the memory. (Dominique Pelle)
author Christian Brabandt <cb@256bit.org>
date Tue, 24 Nov 2015 17:30:05 +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