Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 31129:9cc7b2cec8ad v9.0.0899
patch 9.0.0899: the builtin terminals are in one long list
Commit: https://github.com/vim/vim/commit/4654d63dec03650825875006c06bb0b0ae43283f
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 17 22:05:12 2022 +0000
patch 9.0.0899: the builtin terminals are in one long list
Problem: The builtin terminals are in one long list.
Solution: Refactor into multiple lists and an index of the lists.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 17 Nov 2022 23:15:02 +0100 |
parents | d4faa2c5211b |
children |
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