view pixmaps/gen-inline-pixbufs.sh @ 25008:50c6b0250c04 v8.2.3041

patch 8.2.3041: detecting if the process of a swap file is running fails Commit: https://github.com/vim/vim/commit/44dea9da4b2a21dd1e03f2bd94b4f2679d4613e5 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 23 21:13:20 2021 +0200 patch 8.2.3041: detecting if the process of a swap file is running fails Problem: Detecting if the process of a swap file is running fails if the process is owned by another user. Solution: Check for the ESRCH error. (closes #8436)
author Bram Moolenaar <Bram@vim.org>
date Wed, 23 Jun 2021 21:15:03 +0200
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