view pixmaps/gen-inline-pixbufs.sh @ 4744:a62695305e03 v7.3.1119

updated for version 7.3.1119 Problem: Flags in 'cpo' are search for several times. Solution: Store the result and re-use the flags.
author Bram Moolenaar <bram@vim.org>
date Wed, 05 Jun 2013 12:43:09 +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