From a7bb299b74e3f44907da846ad380797c66b6bb23 Mon Sep 17 00:00:00 2001 From: chandi Date: Mon, 20 Dec 2021 23:46:07 +0100 Subject: [PATCH] avoid errors with paths containing spaces --- scripts/setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup b/scripts/setup index 5d5c60c..3f4ecdf 100755 --- a/scripts/setup +++ b/scripts/setup @@ -1,7 +1,7 @@ #!/bin/bash set -e -cd $(dirname $0)/.. +cd "$(dirname "$0")/.." if ! [ -x "$(command -v curl)" ]; then echo "Error: curl is not installed, but the setup script relies on it."