view pixmaps/gen-inline-pixbufs.sh @ 19306:e4a155edc9cb v8.2.0211

patch 8.2.0211: test for ANSI colors fails without an "ls" command Commit: https://github.com/vim/vim/commit/94255df057afa0b7dde77612f3274d4440871bd1 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 5 20:10:33 2020 +0100 patch 8.2.0211: test for ANSI colors fails without an "ls" command Problem: Test for ANSI colors fails without an "ls" command. Solution: Use "dir". (Ken Takata, closes https://github.com/vim/vim/issues/5582)
author Bram Moolenaar <Bram@vim.org>
date Wed, 05 Feb 2020 20:15:04 +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