From 79f7aae07371476b223c1e26facc4e15722e9ee0 Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Mon, 15 Feb 2021 12:27:55 -0600 Subject: [PATCH] Remove unnecessary [[ --- yadm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yadm b/yadm index b055085..28a60a4 100755 --- a/yadm +++ b/yadm @@ -1492,11 +1492,11 @@ function process_global_args() { function qualify_path() { local path="$1" - if [[ -z "$path" ]]; then + if [ -z "$path" ]; then error_out "You can't specify an empty $2 path" fi - if [[ "$path" = "." ]]; then + if [ "$path" = "." ]; then path="$PWD" elif [[ "$path" != /* ]]; then path="$PWD/${path#./}"