On 08/12/2018 03:51 AM, Richard W.M. Jones wrote:
The path to bash on FreeBSD is /usr/local/bin/bash.
---
+++ b/docs/make-links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
This loses the '-' argument that used to be passed by the kernel (but
you can't add it back to the #! linew without using BSD's or GNU
coreutils' recent addition of 'env -S'). Is it worth adding a 'set -'
line later in the script to compensate, if you were previously passing
the '-' as a way to reset the shell from inheriting environmental
differences?
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization:
qemu.org |
libvirt.org