diff --git a/2018/burton2/runtest.sh b/2018/burton2/runtest.sh index 87a71d582..86c713e68 100755 --- a/2018/burton2/runtest.sh +++ b/2018/burton2/runtest.sh @@ -1,9 +1,9 @@ -#!/bin/sh +#!/usr/bin/env bash -: ${prog:=./prog} -: ${opt:=crs} +: "${prog:=./prog}" +: "${opt:=crs}" exec 2>&1 for name in test*c fixed_iocccsize.c ioc_without_quote; do - /bin/echo -n "$name: "; $prog -$opt < $name + /bin/echo -n "$name: "; "$prog" -"$opt" < "$name" done