view pixmaps/gen-inline-pixbufs.sh @ 27819:f68947167523 v8.2.4435

patch 8.2.4435: dead code in checking map() arguments Commit: https://github.com/vim/vim/commit/7842761bbaa7965fa52b5e3eadf162bc7fa6cdb1 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 21 18:34:30 2022 +0000 patch 8.2.4435: dead code in checking map() arguments Problem: Dead code in checking map() arguments. (Dominique Pell?) Solution: Remove the first return statement. (closes https://github.com/vim/vim/issues/9815)
author Bram Moolenaar <Bram@vim.org>
date Mon, 21 Feb 2022 19:45: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