view pixmaps/gen-inline-pixbufs.sh @ 14315:17ade2ec0616 v8.1.0173

patch 8.1.0173: compiler warning on MS-Windows commit https://github.com/vim/vim/commit/6259e5769dd50d8a3b5b99f553bab34ff5c8a6ce Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jul 9 20:39:17 2018 +0200 patch 8.1.0173: compiler warning on MS-Windows Problem: Compiler warning on MS-Windows. Solution: Add type cast. (Mike Williams)
author Christian Brabandt <cb@256bit.org>
date Mon, 09 Jul 2018 20:45:06 +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