summaryrefslogtreecommitdiff
path: root/make-symlinks
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-09-05 20:22:30 +0300
committerLars Wirzenius <liw@liw.fi>2023-09-05 20:24:11 +0300
commit7e9868b1c2791d1e71c0300781771a9586588654 (patch)
treec5aedacef1a94b3310e64b6c7de9f77f8e77ffee /make-symlinks
parent9d91a8290c6d0a9e7a118a47b255cd796543f653 (diff)
downloadliw-dot-files-7e9868b1c2791d1e71c0300781771a9586588654.tar.gz
feat: allow per-host configs in host-$hostname
Sponsored-by: author
Diffstat (limited to 'make-symlinks')
-rwxr-xr-xmake-symlinks2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-symlinks b/make-symlinks
index 5f3d03a..5700bb0 100755
--- a/make-symlinks
+++ b/make-symlinks
@@ -14,7 +14,7 @@ abspath() {
src() {
dirname="$1"
file="$2"
- hosted="$dirname/$(hostname)/$file"
+ hosted="$dirname/host-$(hostname)/$file"
plain="$dirname/$file"
if [ -e "$hosted" ]; then
echo "$hosted"