From 2c95807cf3a3855ebd21e5188a765b579c9063fc Mon Sep 17 00:00:00 2001
From: Philipp Spilger <philipp.spilger@kip.uni-heidelberg.de>
Date: Tue, 13 Feb 2024 14:20:27 +0100
Subject: [PATCH] chore: Remove unnecessary check for existing spack tempdir

Change-Id: I0fdd8b137e9d1f4c61c4ca6cb2e169ac42d46b7d
---
 lib/yashchiki/build_sandbox.sh | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/lib/yashchiki/build_sandbox.sh b/lib/yashchiki/build_sandbox.sh
index 5444ce5f..f524a71f 100755
--- a/lib/yashchiki/build_sandbox.sh
+++ b/lib/yashchiki/build_sandbox.sh
@@ -14,12 +14,6 @@ unset LC_NUMERIC
 unset LC_TIME
 unset LC_MESSAGES
 
-# check if host-user-owned temp folder for spack build exists
-if [ ! -d "${JOB_TMP_SPACK}" ]; then
-    echo "${JOB_TMP_SPACK} should exist, aborting!" >&2
-    exit 1
-fi
-
 # make job temp folder writable for all users (i.e., spack)
 chmod 777 "${JOB_TMP_SPACK}"
 
-- 
GitLab