Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 27515:1aff400b819e v8.2.4285
patch 8.2.4285: Vim9: type of item in for loop not checked properly
Commit: https://github.com/vim/vim/commit/a1c519518050383e7d319514a3ff6c42a9154c48
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 2 16:20:26 2022 +0000
patch 8.2.4285: Vim9: type of item in for loop not checked properly
Problem: Vim9: type of item in for loop not checked properly.
Solution: Adjust the type checking. (closes https://github.com/vim/vim/issues/9683)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 02 Feb 2022 17:30:05 +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