view pixmaps/gen-inline-pixbufs.sh @ 23841:ba4f8569ff8a v8.2.2462

patch 8.2.2462: Coverity warns for not checking for fseek() error Commit: https://github.com/vim/vim/commit/2c363a2e95ee0b366e72063d093d20e025ef4a66 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 3 20:14:23 2021 +0100 patch 8.2.2462: Coverity warns for not checking for fseek() error Problem: Coverity warns for not checking for fseek() error. Solution: Give an error message if fseek() fails.
author Bram Moolenaar <Bram@vim.org>
date Wed, 03 Feb 2021 20:15:04 +0100
parents 3fc0f57ecb91
children d4faa2c5211b
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