ref: 34bc650341ab2ab4f94cc25b506785d1531f59a8
parent: 43ba7d0efb434f9276f113e5a11f0fb697973bcc
author: DaKnig <[email protected]>
date: Fri Jul 1 19:59:41 EDT 2022
Fix shebangs (#992)
--- a/src/check_bison_ver.sh
+++ b/src/check_bison_ver.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
bison -V | awk -v major="$1" -v minor="$2" '
/^bison.*[0-9]+(\.[0-9]+)(\.[0-9]+)?$/ {
match($0, /[0-9]+(\.[0-9]+)(\.[0-9]+)?$/);
--- a/test/asm/test.sh
+++ b/test/asm/test.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
export LC_ALL=C
--- a/test/asm/update-refs.sh
+++ b/test/asm/update-refs.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
fname=$(mktemp)
for i in *.asm; do