view pixmaps/gen-inline-pixbufs.sh @ 27092:6d063974af23 v8.2.4075

patch 8.2.4075: test failures Commit: https://github.com/vim/vim/commit/78a70533c3707aa50cbf998c7807221945aa9787 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 13 13:24:34 2022 +0000 patch 8.2.4075: test failures Problem: Test failures. Solution: Change check for NULL pointer.
author Bram Moolenaar <Bram@vim.org>
date Thu, 13 Jan 2022 14:30:04 +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