view pixmaps/gen-inline-pixbufs.sh @ 11107:cde7933ad315 v8.0.0441

patch 8.0.0441: dead code in #ifdef commit https://github.com/vim/vim/commit/ad2cfb54b78523435b31de7234081ff70a53e736 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 9 18:59:14 2017 +0100 patch 8.0.0441: dead code in #ifdef Problem: Dead code in #ifdef. Solution: Remove the #ifdef and #else part.
author Christian Brabandt <cb@256bit.org>
date Thu, 09 Mar 2017 19:00:06 +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