view pixmaps/gen-inline-pixbufs.sh @ 32559:fb453aba3d2b v9.0.1611

patch 9.0.1611: v:maxcol can be changed in a :for loop Commit: https://github.com/vim/vim/commit/16d2c02c80e6d4822010816e085cabf91bf91423 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 5 19:46:18 2023 +0100 patch 9.0.1611: v:maxcol can be changed in a :for loop Problem: v:maxcol can be changed in a :for loop. Solution: Check for read-only loop variable. (closes https://github.com/vim/vim/issues/12470)
author Bram Moolenaar <Bram@vim.org>
date Mon, 05 Jun 2023 21:00:05 +0200
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