view pixmaps/gen-inline-pixbufs.sh @ 32599:f35ea6c38a20 v9.0.1631

patch 9.0.1631: passing wrong variable type to option gives multiple errors Commit: https://github.com/vim/vim/commit/4c7cb372c17a84c8a35254d93eb37cb854cd39da Author: zeertzjq <zeertzjq@outlook.com> Date: Wed Jun 14 16:39:54 2023 +0100 patch 9.0.1631: passing wrong variable type to option gives multiple errors Problem: Passing a wrong variable type to an option gives multiple errors. Solution: Bail out early on failure. (closes https://github.com/vim/vim/issues/12504)
author Bram Moolenaar <Bram@vim.org>
date Wed, 14 Jun 2023 17:45: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