view tools/gen-bat-wrapper @ 4329:caa35339a354

of-interval: update to v2.1.0 * build_packages.m: update interval version * src/of-interval.mk: update version, checksum, assign options if cross build * src/of-interval-1-cross-fixes.patch: new file * dist-files.mk: added of-interval-1-cross-fixes.patch
author John D
date Thu, 12 Jan 2017 08:16:53 -0500
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