view pixmaps/gen-inline-pixbufs.sh @ 16459:4ea761ce795b v8.1.1234

patch 8.1.1234: swap file test fails on MS-Windows commit https://github.com/vim/vim/commit/701df4eb64ae9945c63f83621b54aa69e1336a79 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 28 23:07:18 2019 +0200 patch 8.1.1234: swap file test fails on MS-Windows Problem: Swap file test fails on MS-Windows. Solution: Only compare the tail of the file names.
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Apr 2019 23:15:07 +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