view pixmaps/gen-inline-pixbufs.sh @ 8983:5cbd81536f27 v7.4.1777

commit https://github.com/vim/vim/commit/3849992b16011e36a5cb5be4b127f843389b96fd Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 22 20:46:52 2016 +0200 patch 7.4.1777 Problem: Newly added features can escape the sandbox. Solution: Add checks for restricted and secure. (Yasuhiro Matsumoto)
author Christian Brabandt <cb@256bit.org>
date Fri, 22 Apr 2016 21: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