From 5fb39061a3c5c4e4de5d5b6a2cc8b7b98729ece1 Mon Sep 17 00:00:00 2001 From: PHO Date: Tue, 1 Sep 2015 18:50:31 +0900 Subject: [PATCH] The 'source' built-in command tries to search for the given filename in PATH when the filename does not contain a slash, which isn't what we want to do. --- src/resource.bash | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/resource.bash b/src/resource.bash index 5ae60ef..46bbaf9 100644 --- a/src/resource.bash +++ b/src/resource.bash @@ -5,10 +5,10 @@ setBuildTarget "all" setDocDirectory "." setDocTarget "all" -if [[ -f "Build.rc" ]]; then - . "Build.rc" +if [[ -f "./Build.rc" ]]; then + . "./Build.rc" fi -if [[ -f "Build.rc.local" ]]; then - . "Build.rc.local" +if [[ -f "./Build.rc.local" ]]; then + . "./Build.rc.local" fi -- 2.40.0