view pixmaps/gen-inline-pixbufs.sh @ 10412:836577f4721e v8.0.0100

commit https://github.com/vim/vim/commit/319afe3804741db5a6c188bd69535fa7ed044c62 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 24 18:30:59 2016 +0100 patch 8.0.0100 Problem: Options that are a file name may contain non-filename characters. Solution: Check for more invalid characters.
author Christian Brabandt <cb@256bit.org>
date Thu, 24 Nov 2016 18:45:04 +0100
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