Mercurial > mxe-octave
view tools/gen-bat-wrapper @ 7106:47ac621e632f release
append our octaverc file to existing site rcfile
* binary-dist-rules.mk (copy-dist-files): Append octaverc to existing
file instead of overwriting.
* octaverc: Note that these commands come from MXE Octave.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 13 Mar 2024 12:16:26 -0400 |
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