annotate pixmaps/gen-inline-pixbufs.sh @ 32130:ec0d5bd9083c v9.0.1396

patch 9.0.1396: sort(list, 'N') does not work in Vim9 script context Commit: https://github.com/vim/vim/commit/be19d78c3d44221cbc38fbb5bac19302345c1def Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 9 22:06:49 2023 +0000 patch 9.0.1396: sort(list, 'N') does not work in Vim9 script context Problem: sort(list, 'N') does not work in Vim9 script context. Solution: Convert string to number without giving an error. (closes https://github.com/vim/vim/issues/12061)
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 Mar 2023 23:15:04 +0100
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