view pixmaps/gen-inline-pixbufs.sh @ 31331:12c0e0f13585 v9.0.0999

patch 9.0.0999: memory may leak Commit: https://github.com/vim/vim/commit/c0370529c027abc5b1698d53fcfb8c02a0c515da Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 3 13:52:24 2022 +0000 patch 9.0.0999: memory may leak Problem: Memory may leak. Solution: Free the sound callback function name if it was allocated.
author Bram Moolenaar <Bram@vim.org>
date Sat, 03 Dec 2022 15:00:04 +0100
parents d4faa2c5211b
children
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