view pixmaps/gen-inline-pixbufs.sh @ 12246:337690672bda v8.0.1003

patch 8.0.1003: 64 bit compiler warning commit https://github.com/vim/vim/commit/e85928a324ab78912ea0f0ceb2dcd9fd686dc3b0 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 27 13:10:10 2017 +0200 patch 8.0.1003: 64 bit compiler warning Problem: 64 bit compiler warning Solution: Add type cast. (Mike Williams)
author Christian Brabandt <cb@256bit.org>
date Sun, 27 Aug 2017 13:15:05 +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