view pixmaps/gen-inline-pixbufs.sh @ 2902:69e0783ed0ef v7.3.224

updated for version 7.3.224 Problem: Can't pass dict to sort function. Solution: Add the optional {dict} argument to sort(). (ZyX)
author Bram Moolenaar <bram@vim.org>
date Sun, 19 Jun 2011 02:55:37 +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