diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2021-08-06 17:18:20 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2021-08-06 17:18:20 +0100 |
commit | 0d86d7df3cf62ed0a010197f2963842311b0a4b8 (patch) | |
tree | 786c4d2a23652ebf63ee5affe88cf7e41221794a /libpack.do | |
parent | 98e18c714bf1668e9c041f1be4abcab548f22294 (diff) | |
download | pack-0d86d7df3cf62ed0a010197f2963842311b0a4b8.tar.gz pack-0d86d7df3cf62ed0a010197f2963842311b0a4b8.tar.xz pack-0d86d7df3cf62ed0a010197f2963842311b0a4b8.zip |
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.
Diffstat (limited to 'libpack.do')
-rwxr-xr-x | libpack.do | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,2 +1,3 @@ -#!./do-link library +#!/usr/bin/env ./do-link +type=library objects=(common.o pack.o trace.o unpack.o ieee754b.o) |