From fd1728393d65abb8af2166f3697da55b338e0937 Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Tue, 14 May 2024 21:36:12 +0200 Subject: [PATCH] Make shebang more nix sandbox friendly --- configure | 2 +- scripts/has_header | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 820344e..8cce0d0 100755 --- a/configure +++ b/configure @@ -1,4 +1,4 @@ -#! /usr/bin/env sh +#!/bin/sh echo "/* Generated by configure */" > src/config.h echo "#ifndef _CONFIG_H" >> src/config.h diff --git a/scripts/has_header b/scripts/has_header index 5807bdb..108b055 100755 --- a/scripts/has_header +++ b/scripts/has_header @@ -1,2 +1,2 @@ -#! /usr/bin/env sh +#!/bin/sh echo "#include <$1>" | cc -E - 2>&1 >/dev/null