citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 5d5833ca3fdab2e0872f1856ad36d327f16e890e
parent e7bdd506bb77c6d936cfb70eb7994695ea116009
Author: Kyle Milz <milz@imac.0x30.net>
Date:   Thu,  4 Mar 2021 20:38:22 -0800

bin: add some shebang lines

Diffstat:
Mbin/Makefile | 5++---
Mbin/report.awk | 1+
Mbin/wrap.sh | 1+
3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/bin/Makefile b/bin/Makefile @@ -1,4 +1,4 @@ -PROGS= citrun_report citrun_wrap +PROGS= citrun_report citrun_wrap SRCS_citrun_report= report.awk SRCS_citrun_wrap= wrap.sh @@ -8,8 +8,7 @@ citrun_wrap: wrap.sh chmod +x $@ citrun_report: report.awk - echo "#!/usr/bin/awk -f" > $@ - cat ${.CURDIR}/report.awk >> $@ + cp ${.CURDIR}/report.awk $@ chmod +x $@ diff --git a/bin/report.awk b/bin/report.awk @@ -1,3 +1,4 @@ +#!/usr/bin/awk -f # # Copyright (c) 2016, 2017 Kyle Milz <kyle@0x30.net> # diff --git a/bin/wrap.sh b/bin/wrap.sh @@ -1,3 +1,4 @@ +#!/bin/sh export PATH=" PREFIX /share:$PATH" exec $@