view pixmaps/gen-inline-pixbufs.sh @ 29461:69693a62f2f4 v9.0.0072

patch 9.0.0072: compiler warning for uninitialized variable Commit: https://github.com/vim/vim/commit/6d023f98dfbad6215a4e94ed7df28f8972b3ff9d Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jul 25 21:15:45 2022 +0100 patch 9.0.0072: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. Solution: Initialize it. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Mon, 25 Jul 2022 22:30:03 +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