view pixmaps/gen-inline-pixbufs.sh @ 20130:a30d28e794de v8.2.0620

patch 8.2.0620: error in menu translations Commit: https://github.com/vim/vim/commit/0d6fe631f75effbfca92a4f61bbc2fab7385af09 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 23 13:58:12 2020 +0200 patch 8.2.0620: error in menu translations Problem: Error in menu translations. Solution: Insert a backslash before a space.
author Bram Moolenaar <Bram@vim.org>
date Thu, 23 Apr 2020 14:00: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