aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-04-10 12:42:05 +0200
committerPatrick Spek <p.spek@tyil.nl>2020-04-10 12:42:05 +0200
commit0718c67d9ef857aebe5837f919d7863c872c317c (patch)
tree3f4276dc0d889f2490617126a5fe49e9757698b4
parent12d4ebd2e3fc26dd02a0cfb0f94b443a52e6ceeb (diff)
Silence a cd error
-rw-r--r--lib/actions/install.bash2
1 files changed, 1 insertions, 1 deletions
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