From b4e1f78d13aea097a4972b1af01cf6e3b57de97b Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Tue, 22 Oct 2024 14:41:47 +0100 Subject: [PATCH] Make it work better with FreeBSD --- bin/ec | 2 +- bin/init-mu | 4 ++-- install | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/ec b/bin/ec index e3bd8c6..c460868 100755 --- a/bin/ec +++ b/bin/ec @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ "$PARENT_REPO" == "" ] ; then PARENT_REPO=$(find-parent-repo) if [ "$PARENT_REPO" == "" ] ; then diff --git a/bin/init-mu b/bin/init-mu index 34caeb5..e2c27de 100755 --- a/bin/init-mu +++ b/bin/init-mu @@ -2,11 +2,11 @@ grep -q broadcom.net /etc/resolv.conf if [ $? -eq 0 ] ; then mu init \ - --maildir=~/Mail/ \ + --maildir=$HOME/Mail/ \ --my-address=paul.walker@broadcom.com else mu init \ - --maildir=~/Mail/ \ + --maildir=$HOME/Mail/ \ --my-address=h.devore@gmail.com \ --my-address=hdevore@gmail.com \ --my-address=paul@blacksun.org.uk \ diff --git a/install b/install index ca7e152..c3d7ca2 100755 --- a/install +++ b/install @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Adapted from Junegunn Choi (junegunn.c@gmail.com) # https://github.com/junegunn/dotfiles/blob/master/install