From 64161b1e5f284b16f305fd664d9fc1179df4aeeb Mon Sep 17 00:00:00 2001 From: Patrick Carlo-Hickman Date: Sun, 19 Feb 2023 15:27:17 -0500 Subject: [PATCH] Update the shebang to include the login flag for scripts that need PHPENV. --- setup/installers/install-php.sh | 2 +- setup/resources/apache/make-site.sh | 2 +- setup/resources/php/install-php.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/installers/install-php.sh b/setup/installers/install-php.sh index e3167cd..4468698 100755 --- a/setup/installers/install-php.sh +++ b/setup/installers/install-php.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -l source "$(dirname "$(readlink -f "${0}")")/init-install.sh" diff --git a/setup/resources/apache/make-site.sh b/setup/resources/apache/make-site.sh index 7695221..fcb1ce0 100755 --- a/setup/resources/apache/make-site.sh +++ b/setup/resources/apache/make-site.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -l source "$(dirname "$(dirname "$(readlink -f "${0}")")")/init-resource.sh" diff --git a/setup/resources/php/install-php.sh b/setup/resources/php/install-php.sh index d40853d..ab11017 100755 --- a/setup/resources/php/install-php.sh +++ b/setup/resources/php/install-php.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -l source "$(dirname "$(dirname "$(readlink -f "${0}")")")/init-resource.sh"