view pixmaps/gen-inline-pixbufs.sh @ 22498:04a9b1399d8e v8.2.1797

patch 8.2.1797: Vim9: some parts of the code not tested Commit: https://github.com/vim/vim/commit/6abd3dc257cf56a8262db38eb15c7cc754e8e002 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 4 14:17:32 2020 +0200 patch 8.2.1797: Vim9: some parts of the code not tested Problem: Vim9: some parts of the code not tested. Solution: Add a few tests.
author Bram Moolenaar <Bram@vim.org>
date Sun, 04 Oct 2020 14:30:05 +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