view pixmaps/gen-inline-pixbufs.sh @ 16700:46322a4e6028 v8.1.1352

patch 8.1.1352: undofile() reports wrong name commit https://github.com/vim/vim/commit/e9ebc9a91cac357fd4888f4b71fdff7d97b41160 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 19 15:27:14 2019 +0200 patch 8.1.1352: undofile() reports wrong name Problem: Undofile() reports wrong name. (Francisco Giordano) Solution: Clean up the name before changing path separators. (closes https://github.com/vim/vim/issues/4392, closes #4394)
author Bram Moolenaar <Bram@vim.org>
date Sun, 19 May 2019 15:30:08 +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