view pixmaps/gen-inline-pixbufs.sh @ 19005:53088656f5ed v8.2.0063

patch 8.2.0063: wrong size argument to vim_snprintf() Commit: https://github.com/vim/vim/commit/08b28b7ad52d5ee3cb5fa5982b647e325a410484 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 30 20:42:39 2019 +0100 patch 8.2.0063: wrong size argument to vim_snprintf() Problem: Wrong size argument to vim_snprintf(). (Dominique Pelle) Solution: Reduce the size by the length. (related to https://github.com/vim/vim/issues/5410)
author Bram Moolenaar <Bram@vim.org>
date Mon, 30 Dec 2019 20:45:03 +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