view pixmaps/gen-inline-pixbufs.sh @ 12367:7ae2b2c84ec5 v8.0.1063

patch 8.0.1063: Coverity warns for NULL check and array use commit https://github.com/vim/vim/commit/28550b74bb4373417eb6fbf132bd4211b7b92afa Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 5 23:31:01 2017 +0200 patch 8.0.1063: Coverity warns for NULL check and array use Problem: Coverity warns for NULL check and using variable pointer as an array. Solution: Remove the NULL check. Make "argvar" an array.
author Christian Brabandt <cb@256bit.org>
date Tue, 05 Sep 2017 23:45:04 +0200
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