view pixmaps/gen-inline-pixbufs.sh @ 4787:7fde662e1db2 v7.3.1140

updated for version 7.3.1140 Problem: New regexp engine: trying expensive match while the result is not going to be used. Solution: Check for output state already being in the state list.
author Bram Moolenaar <bram@vim.org>
date Fri, 07 Jun 2013 17:31:29 +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