view pixmaps/gen-inline-pixbufs.sh @ 12297:98586656fcae v8.0.1028

patch 8.0.1028: MS-Windows: viminfo uses $VIM/_viminfo if $HOME not set commit https://github.com/vim/vim/commit/3d593c2dc97c5426316bf343910cad911b2f6b49 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 31 20:42:18 2017 +0200 patch 8.0.1028: MS-Windows: viminfo uses $VIM/_viminfo if $HOME not set Problem: MS-Windows: viminfo uses $VIM/_viminfo if $HOME not set. (Yongwei Wu) Solution: Use vim_getenv() but check it's returning the default "C:/".
author Christian Brabandt <cb@256bit.org>
date Thu, 31 Aug 2017 20:45:04 +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