Mercurial > mxe-octave
view tools/gen-bat-wrapper @ 4686:63a6009ad3df
fix host -config script path when building dist file
* binary-dist-rules.mk: for each usr/xxxx-config file, modify any build host paths to /usr paths
author | John Donoghue |
---|---|
date | Wed, 25 Apr 2018 08:26:25 -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