view pixmaps/gen-inline-pixbufs.sh @ 30779:9d2c4d49b006 v9.0.0724

patch 9.0.0724: closure in compiled function gets same variable in block Commit: https://github.com/vim/vim/commit/a275f2cdcc4353e7653a69c7c818422db5da599d Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 11 20:04:09 2022 +0100 patch 9.0.0724: closure in compiled function gets same variable in block Problem: Closure in compiled function gets same variable in block. Solution: At the end of a block to not always reset the variable count. (issue #11094)
author Bram Moolenaar <Bram@vim.org>
date Tue, 11 Oct 2022 21:15:04 +0200
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