dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit 8b8a4b036ff84dd75ffdf070f39bdf6c26fecbfa
parent 91335e29825b71caf18b228e43bdded292886609
Author: hhvn <dev@hhvn.uk>
Date:   Wed, 21 Jul 2021 15:00:59 +0100

.l/r/install.sh: print $dest, not $file/$dir

Diffstat:
M.local/rootfiles/install.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.local/rootfiles/install.sh b/.local/rootfiles/install.sh @@ -34,7 +34,7 @@ files=$(find . -mindepth 2 -type f) export IFS=$(printf '\n\t') for dir in $dirs do - printf 'creating %s... ' "$dir" + printf 'creating %s... ' "$dest" dest=$(printf '%s\n' "$dir" | sed 's~^\.~~') mkdir -p $dest printf 'done\n' @@ -42,7 +42,7 @@ done for file in $files do - printf 'creating %s... ' "$file" + printf 'creating %s... ' "$dest" dest=$(printf '%s\n' "$file" | sed 's~^\.~~') content=$(_envsubst < "$file") printf '%s\n' "$content" | doas tee "$dest" >/dev/null