view pixmaps/gen-inline-pixbufs.sh @ 21915:2559dc02bd64 v8.2.1507

patch 8.2.1507: using malloc() directly Commit: https://github.com/vim/vim/commit/51b6eb47b3c41b01a5559b099e65354c8897093e Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 22 15:19:18 2020 +0200 patch 8.2.1507: using malloc() directly Problem: Using malloc() directly. Solution: Use ALLOC_ONE(). Remove superfluous typecast. (Hussam al-Homsi, closes #6768)
author Bram Moolenaar <Bram@vim.org>
date Sat, 22 Aug 2020 15: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