view pixmaps/gen-inline-pixbufs.sh @ 9967:45098d7f72b6 v7.4.2257

commit https://github.com/vim/vim/commit/9f28953f0c1e3d9fffd49af76503f54eaa279acb Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 26 16:39:03 2016 +0200 patch 7.4.2257 Problem: Coverity complains about not checking for NULL. Solution: Check for out of memory.
author Christian Brabandt <cb@256bit.org>
date Fri, 26 Aug 2016 16:45:07 +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