view pixmaps/gen-inline-pixbufs.sh @ 9605:846d4bad2df7 v7.4.2080

commit https://github.com/vim/vim/commit/b869c0da31716ff14bbfd63346d140d0a1d68af7 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 20 00:10:51 2016 +0200 patch 7.4.2080 Problem: When using PERROR() on some systems assert_fails() does not see the error. Solution: Make PERROR() always report the error.
author Christian Brabandt <cb@256bit.org>
date Wed, 20 Jul 2016 00:15:06 +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