From f15ff59ea4c84d831cab1a58b3f19e51aca89173 Mon Sep 17 00:00:00 2001 From: Danilo Piparo Date: Fri, 9 Jan 2026 13:40:58 +0100 Subject: [PATCH] Provide a default for RB_TEMP_FS if not provided --- include/rootbench/RBConfig.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/rootbench/RBConfig.h b/include/rootbench/RBConfig.h index 108e94e0..c25eaa06 100644 --- a/include/rootbench/RBConfig.h +++ b/include/rootbench/RBConfig.h @@ -17,8 +17,10 @@ namespace RB { inline std::string GetTempFs() { if (char* tempfs = std::getenv("RB_TEMP_FS")) return tempfs; - - rb_abort("Please set the RB_TEMP_FS env variable!"); + else { + printf("RB_TEMP_FS variable not defined. Using \"./\" instead."); + return "./"; + } } inline std::string GetRootSys() {