commit 27ca655cc559ea0dbc670f001f13bf9441dd8193
parent bd90ef324b9a8e0cc3fb71ff9f2d7c56ba00b896
Author: Suzanne Soy <ligo@suzanne.soy>
Date: Mon, 8 Mar 2021 19:46:04 +0000
Merge remote-tracking branch 'origin/patch-tilde-prefix' into HEAD
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/install.sh b/install.sh
@@ -46,6 +46,9 @@ while true; do
-p|--prefix)
shift
PREFIX="$1"
+ if test "x$PREFIX" != "x${PREFIX#\~/}"; then
+ PREFIX="$HOME/${PREFIX#\~/}"
+ fi
;;
--system-wlroots)
USE_SYSTEM_WLROOTS=enabled