view pixmaps/gen-inline-pixbufs.sh @ 9077:a2441f2ff85d v7.4.1823

commit https://github.com/vim/vim/commit/d9db8b448c214eb583e84c598bca0688b9202ba7 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 8 12:52:05 2016 +0200 patch 7.4.1823 Problem: Warning from 64 bit compiler. Solution: Add type cast. (Mike Williams)
author Christian Brabandt <cb@256bit.org>
date Sun, 08 May 2016 13:00: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