From 056b7fc89e399a1727b8b443f186d86b23451bdd Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Fri, 12 Jan 2024 03:14:51 +0100 Subject: [PATCH] Fix wrong exit in autoinstall/before.sh --- .envrc | 2 +- autoinstall/before.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.envrc b/.envrc index f45b145..4857c1e 100644 --- a/.envrc +++ b/.envrc @@ -1,3 +1,3 @@ use nix -printf '\nPlease set and export $BASHLY_SOURCE_DIR\n\n' +export BASHLY_SOURCE_DIR=$(cat .target) diff --git a/autoinstall/before.sh b/autoinstall/before.sh index 7a88b5f..f88899b 100644 --- a/autoinstall/before.sh +++ b/autoinstall/before.sh @@ -5,7 +5,7 @@ action=${action:?} # if action is run or completions, do nothing if [ "$action" = "run" ] || [ "$action" = "completions" ] then - exit 0 + return fi clean=${args[--clean]:-}