Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 3867:caa0ca9ad06c v7.3.690
updated for version 7.3.690
Problem: When the current directory name is exactly the maximum path length
Vim may crash.
Solution: Only add "/" when there is room. (Danek Duvall)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 14 Oct 2012 04:35:45 +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