view pixmaps/gen-inline-pixbufs.sh @ 9074:3aab62b76363 v7.4.1822

commit https://github.com/vim/vim/commit/ea83bf06b92baeb6d68a10d8e8ffad289d31dae2 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 8 09:40:51 2016 +0200 patch 7.4.1822 Problem: Redirecting stdout of a channel to "null" doesn't work. (Nicola) Solution: Correct the file descriptor number.
author Christian Brabandt <cb@256bit.org>
date Sun, 08 May 2016 09: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