Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 11154:0895f142cac3 v8.0.0464
patch 8.0.0464: can't find executable name on Solaris and FreeBSD
commit https://github.com/vim/vim/commit/f3757f0c87bbd52c7989c85dcbd21511bffcbdd6
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 16 15:13:45 2017 +0100
patch 8.0.0464: can't find executable name on Solaris and FreeBSD
Problem: Can't find executable name on Solaris and FreeBSD.
Solution: Check for "/proc/self/path/a.out". (Danek Duvall) And for
"/proc/curproc/file".
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 16 Mar 2017 15:15:05 +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