view pixmaps/gen-inline-pixbufs.sh @ 14385:696794fe4bce v8.1.0207

patch 8.1.0207: need many menu translation files to cover regions commit https://github.com/vim/vim/commit/68f1b1b37fa7aba985d9f8727fd9f0f3eb0c19a9 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jul 23 05:10:14 2018 +0200 patch 8.1.0207: need many menu translation files to cover regions Problem: Need many menu translation files to cover regions. Solution: When there is no region match, try without. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Mon, 23 Jul 2018 05:15:04 +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