diff --git a/home-manager/home-manager b/home-manager/home-manager index 5c1d83f61..1c6246811 100644 --- a/home-manager/home-manager +++ b/home-manager/home-manager @@ -11,6 +11,11 @@ function doBuild() { exit 1 fi + if [[ -e "$2" ]]; then + echo "The output path $2 already exists." + exit 1 + fi + local confFile output confFile="$(realpath "$1")" output="$(realpath "$2")"