view pixmaps/gen-inline-pixbufs.sh @ 27778:858002fef4b7 v8.2.4415

patch 8.2.4415: function argument name conflicts with C++ keyword Commit: https://github.com/vim/vim/commit/b8fb5bb68d45f3e52bb9ea201dc9e7dc6b6d2c6d Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 18 13:56:38 2022 +0000 patch 8.2.4415: function argument name conflicts with C++ keyword Problem: Function argument name conflicts with C++ keyword. Solution: Rename the argument.
author Bram Moolenaar <Bram@vim.org>
date Fri, 18 Feb 2022 15:00:06 +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