From 86bcf704d87a8dc41d333ec90f9ee897afe81186 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sun, 10 Mar 2024 23:18:22 -0700 Subject: [PATCH] fix shellcheck errors in 2018/burton2/runtest.sh --- 2018/burton2/runtest.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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