view pixmaps/gen-inline-pixbufs.sh @ 32017:b4e5d28b788c v9.0.1340

patch 9.0.1340: Coverity warns for using NULL pointer Commit: https://github.com/vim/vim/commit/666cb9c5303753fef7039e9a9e5fbe9a44299607 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 22 12:35:17 2023 +0000 patch 9.0.1340: Coverity warns for using NULL pointer Problem: Coverity warns for using NULL pointer. Solution: Check that lhs_type is not NULL.
author Bram Moolenaar <Bram@vim.org>
date Wed, 22 Feb 2023 13:45: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