annotate pixmaps/gen-inline-pixbufs.sh @ 30299:5c181bb6c855

patch 9.0.0485: in :def function all closures in loop get the same variables Commit: https://github.com/vim/vim/commit/0cdfb7ce462393595b0308dcabf343e82f05319d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 17 15:44:52 2022 +0100 patch 9.0.0485: in :def function all closures in loop get the same variables Problem: In a :def function all closures in a loop get the same variables. Solution: Make a copy of loop variables used in a closure.
author Bram Moolenaar <Bram@vim.org>
date Sat, 17 Sep 2022 16:45:04 +0200
parents d4faa2c5211b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 #! /bin/sh
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 prefix=stock_
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 list=
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
25700
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 7
diff changeset
6 for file in "$@"; do
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 7
diff changeset
7 name=$(echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||')
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 list="$list $prefix$name $file"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 done
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 gdk-pixbuf-csource --raw --static --build-list $list