view pixmaps/gen-inline-pixbufs.sh @ 20472:1338b4dcb885 v8.2.0790

patch 8.2.0790: Vim9: list index not well tested Commit: https://github.com/vim/vim/commit/843700875e50c03c94245bef1b2de147b9b3b585 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 18 14:20:36 2020 +0200 patch 8.2.0790: Vim9: list index not well tested Problem: Vim9: list index not well tested. Solution: Add a few more tests.
author Bram Moolenaar <Bram@vim.org>
date Mon, 18 May 2020 14:30: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