Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 12363:85fef6805d73 v8.0.1061
patch 8.0.1061: Coverity: no check for NULL command
commit https://github.com/vim/vim/commit/6756c7037f07e1fb54e1b9d8e92567ac388617c4
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 5 23:01:12 2017 +0200
patch 8.0.1061: Coverity: no check for NULL command
Problem: Coverity: no check for NULL command.
Solution: Check for NULL list item.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 05 Sep 2017 23:15: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