From 0d86d7df3cf62ed0a010197f2963842311b0a4b8 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Fri, 6 Aug 2021 17:18:20 +0100 Subject: make do-link executable from /usr/bin/env On openbsd the script interpreter of an interpreter script can't be an interpreter script (script(7)) so do-link must be ran with /usr/bin/env which means the type parameter needs to be a variable set in the do file. --- test.do | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test.do') diff --git a/test.do b/test.do index 5ebdb6e..9b8f93b 100755 --- a/test.do +++ b/test.do @@ -1,2 +1,3 @@ -#!./do-link executable +#!/usr/bin/env ./do-link +type=executable objects=(common.o pack.o test.o trace.o unpack.o ieee754b.o) -- cgit v1.2.3-54-g00ecf