From 1cabd1ba98733e8b5037d50c54662502161cbad7 Mon Sep 17 00:00:00 2001 From: Raphx Date: Tue, 28 Aug 2018 17:34:56 +0800 Subject: [PATCH] Fix patch relative path reference `get_absolute_path` is called with the patch file path as the first argument. This commit fixes the relative path reference in the function to use the value of the first argument passed into it. --- bin/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/install b/bin/install index 49316ec..0b2eebf 100755 --- a/bin/install +++ b/bin/install @@ -37,7 +37,7 @@ fetch_patches() { get_absolute_path() { local start_dir=$(pwd) - local rel_path=$2 + local rel_path=$1 local rel_dir=$(dirname "$rel_path") local rel_base=$(basename "$rel_path") -- GitLab