view pixmaps/gen-inline-pixbufs.sh @ 14820:8ff32a34f25e v8.1.0422

patch 8.1.0422: cannot create map file with MinGW commit https://github.com/vim/vim/commit/4ff4290de1a9c0fddc02b3fc84f5947bb09db06c Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 21 14:43:10 2018 +0200 patch 8.1.0422: cannot create map file with MinGW Problem: Cannot create map file with MinGW. Solution: Add support for $MAP. (Ken Takata, closes https://github.com/vim/vim/issues/3460)
author Christian Brabandt <cb@256bit.org>
date Fri, 21 Sep 2018 14:45: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