view pixmaps/gen-inline-pixbufs.sh @ 11125:6f52cc87fe15 v8.0.0450

patch 8.0.0450: v:progpath is not reliably set commit https://github.com/vim/vim/commit/47ffb905f363571072faefbd417938e7ff351a9f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 12 18:38:02 2017 +0100 patch 8.0.0450: v:progpath is not reliably set Problem: v:progpath is not reliably set. Solution: Read /proc/self/exe if possible. (idea by Michal Grochmal) Also fixes missing #if.
author Christian Brabandt <cb@256bit.org>
date Sun, 12 Mar 2017 18:45:05 +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