view pixmaps/gen-inline-pixbufs.sh @ 16109:82cbb08ae0f9 v8.1.1059

patch 8.1.1059: MS-Windows: PlatformId() is called unnecessarily commit https://github.com/vim/vim/commit/90d0cf69aab7c1d6f5212d47ca1a5fe1a213bbc8 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 27 21:49:14 2019 +0100 patch 8.1.1059: MS-Windows: PlatformId() is called unnecessarily Problem: MS-Windows: PlatformId() is called unnecessarily. Solution: Remove calls to PlatformId(). (Ken Takata, closes https://github.com/vim/vim/issues/4170)
author Bram Moolenaar <Bram@vim.org>
date Wed, 27 Mar 2019 22:00:07 +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