From 174b029b3cc3ff1df137a53ad200b11b2e5cd2ce Mon Sep 17 00:00:00 2001 From: Brennan Fee Date: Thu, 22 Aug 2024 09:33:40 -0500 Subject: [PATCH] fix: Make RECEIPT_HOME variable XDG compliant The setting of RECEIPT_HOME using "${HOME}/.config" will fail for users who move their config folder elsewhere using XDG_CONFIG_HOME. Both dash and bash (the usual interpreters for /bin/sh) both support parameter substitution. --- cargo-dist/templates/installer/installer.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cargo-dist/templates/installer/installer.sh.j2 b/cargo-dist/templates/installer/installer.sh.j2 index 075429362..ac9d5e7d2 100644 --- a/cargo-dist/templates/installer/installer.sh.j2 +++ b/cargo-dist/templates/installer/installer.sh.j2 @@ -26,7 +26,7 @@ read -r RECEIPT <