From 9480ef06ab6654399259b7d00c5e21aab33cc8f8 Mon Sep 17 00:00:00 2001 From: Alex Newman Date: Thu, 12 Feb 2026 12:36:28 -0500 Subject: [PATCH] Update openclaw/install.sh Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- openclaw/install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openclaw/install.sh b/openclaw/install.sh index a60a80ae..41155151 100755 --- a/openclaw/install.sh +++ b/openclaw/install.sh @@ -617,7 +617,8 @@ configure_memory_slot() { if [[ ! -f "$config_file" ]]; then # No config file exists — create one with the memory slot info "Creating OpenClaw configuration with claude-mem memory slot..." - node -e " + info "Creating OpenClaw configuration with claude-mem memory slot..." + INSTALLER_CONFIG_FILE="$config_file" node -e " const config = { plugins: { slots: { memory: 'claude-mem' }, @@ -632,7 +633,7 @@ configure_memory_slot() { } } }; - require('fs').writeFileSync('${config_file}', JSON.stringify(config, null, 2)); + require('fs').writeFileSync(process.env.INSTALLER_CONFIG_FILE, JSON.stringify(config, null, 2)); " success "Created ${config_file} with memory slot set to claude-mem" return 0