Mercurial > mxe-octave
view tools/gen-bat-wrapper @ 5650:6805ab42c8aa
Don't convert to short paths for default-octave target (bug #59923).
* installer-files/octave-no-shortpath.patch,
installer-files/octave-bat-no-shortpath.patch,
installer-files/cmdshell-no-shortpath.patch: Add patches that remove
conversion of path to short file names from scripts.
* binary-dist-rules.mk: Apply new patches for default-octave target.
* dist-files.mk: Add new files to build system.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 31 Jan 2021 18:38:38 +0100 |
parents | 32a7bea19bb1 |
children |
line wrap: on
line source
#!/usr/bin/env bash prog=$1 if [ -z $prog ]; then echo "Missing program name" >&2 exit 1 fi cat << EOF @echo off set BINPATH=%~dp0 %BINPATH%bash -c '$prog %*' EOF