view pixmaps/gen-inline-pixbufs.sh @ 19390:e4b326c9424a v8.2.0253

patch 8.2.0253: crash when using :disassamble without argument Commit: https://github.com/vim/vim/commit/21456cdccbdf9d222938139769f1abe95b8effdd Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 13 21:29:32 2020 +0100 patch 8.2.0253: crash when using :disassamble without argument Problem: Crash when using :disassamble without argument. (Dhiraj Mishra) Solution: Check for missing argument. (Dominique Pelle, closes https://github.com/vim/vim/issues/5635, closes #5637)
author Bram Moolenaar <Bram@vim.org>
date Thu, 13 Feb 2020 21:30:09 +0100
parents 3fc0f57ecb91
children d4faa2c5211b
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