view pixmaps/gen-inline-pixbufs.sh @ 31756:07d54b738497 v9.0.1210

patch 9.0.1210: compiler complains about declaration after label Commit: https://github.com/vim/vim/commit/b391e1f805fdd288cbe9103d92c21eff5dcc97c4 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 16 19:51:03 2023 +0000 patch 9.0.1210: compiler complains about declaration after label Problem: Compiler complains about declaration after label. Solution: Move declaration to beginning of block (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Mon, 16 Jan 2023 21:00:04 +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