view pixmaps/gen-inline-pixbufs.sh @ 8293:367a7fed630b v7.4.1439

commit https://github.com/vim/vim/commit/f97ddbeb255c64a2b3d9db4b049278cd286070a6 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 27 21:13:38 2016 +0100 patch 7.4.1439 Problem: Using uninitialzed variable. Solution: Initialize vc_type.
author Christian Brabandt <cb@256bit.org>
date Sat, 27 Feb 2016 21:15: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