view pixmaps/gen-inline-pixbufs.sh @ 26445:568f93dcdc62 v8.2.3753

patch 8.2.3753: Vim9: function unreferenced while called is never deleted Commit: https://github.com/vim/vim/commit/2336c376d5796446d44622b0dfa8fd3fd1a5d22b Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 6 15:06:54 2021 +0000 patch 8.2.3753: Vim9: function unreferenced while called is never deleted Problem: Vim9: function unreferenced while called is never deleted. Solution: Delete a function when no longer referenced.
author Bram Moolenaar <Bram@vim.org>
date Mon, 06 Dec 2021 16:15:03 +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