view pixmaps/gen-inline-pixbufs.sh @ 8611:f12689430f4b v7.4.1595

commit https://github.com/vim/vim/commit/c0a1d7f3ad4d41b64c6c881bb8ad7c201f8439a3 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 19 14:12:50 2016 +0100 patch 7.4.1595 Problem: Not checking for failed open(). (Coverity) Solution: Check file descriptor not being negative.
author Christian Brabandt <cb@256bit.org>
date Sat, 19 Mar 2016 14:15:05 +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