Fix wrong exit in autoinstall/before.sh
This commit is contained in:
parent
7934e32b27
commit
056b7fc89e
2 changed files with 2 additions and 2 deletions
2
.envrc
2
.envrc
|
@ -1,3 +1,3 @@
|
||||||
use nix
|
use nix
|
||||||
|
|
||||||
printf '\nPlease set and export $BASHLY_SOURCE_DIR\n\n'
|
export BASHLY_SOURCE_DIR=$(cat .target)
|
||||||
|
|
|
@ -5,7 +5,7 @@ action=${action:?}
|
||||||
# if action is run or completions, do nothing
|
# if action is run or completions, do nothing
|
||||||
if [ "$action" = "run" ] || [ "$action" = "completions" ]
|
if [ "$action" = "run" ] || [ "$action" = "completions" ]
|
||||||
then
|
then
|
||||||
exit 0
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
clean=${args[--clean]:-}
|
clean=${args[--clean]:-}
|
||||||
|
|
Loading…
Reference in a new issue