view pixmaps/gen-inline-pixbufs.sh @ 23082:2120e4b40e12 v8.2.2087

patch 8.2.2087: Vim9: memory leak when statement is truncated Commit: https://github.com/vim/vim/commit/21e51221f2c4f301912a5d59c748351b02c3df9e Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 4 12:43:29 2020 +0100 patch 8.2.2087: Vim9: memory leak when statement is truncated Problem: Vim9: memory leak when statement is truncated. Solution: Increment the number of local variables.
author Bram Moolenaar <Bram@vim.org>
date Fri, 04 Dec 2020 12:45:04 +0100
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