From 0718c67d9ef857aebe5837f919d7863c872c317c Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Fri, 10 Apr 2020 12:42:05 +0200
Subject: Silence a cd error
---
lib/actions/install.bash | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/actions/install.bash b/lib/actions/install.bash
index f0b1462..1889657 100644
--- a/lib/actions/install.bash
+++ b/lib/actions/install.bash
@@ -54,7 +54,7 @@ action() {
init="$(date +%s)"
# Use an absolute path when reporting about the installation path
- prefix_absolute="$(CDPATH="" cd -- "$RSTAR_PREFIX" && pwd -P)"
+ prefix_absolute="$(CDPATH="" cd -- "$RSTAR_PREFIX" 2> /dev/null && pwd -P)"
info "Installing Raku in $prefix_absolute"
# Create the installation directory
--
cgit v1.1