view pixmaps/gen-inline-pixbufs.sh @ 21038:6ad5f0c99ee9 v8.2.1070

patch 8.2.1070: Vim9: leaking memory when lacking white space in dict Commit: https://github.com/vim/vim/commit/ab19d495fd880b25a38d58cbeb5b21e4d0ee5835 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 27 17:04:05 2020 +0200 patch 8.2.1070: Vim9: leaking memory when lacking white space in dict Problem: Vim9: leaking memory when lacking white space in dict. Solution: Clear the typval.
author Bram Moolenaar <Bram@vim.org>
date Sat, 27 Jun 2020 17:15:03 +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