From 5cce7f0d3bc0617cbee084c1bf85e2826a2cf51f Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sun, 24 Nov 2019 00:16:56 +0100 Subject: [PATCH] Remove trailing slashed from path variables --- src/dotinstall.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dotinstall.sh b/src/dotinstall.sh index 8488d53..c7a3b1a 100755 --- a/src/dotinstall.sh +++ b/src/dotinstall.sh @@ -2,10 +2,10 @@ # Personnal Dotfiles install script -BIN_DIRECTORY="${HOME}/.local/bin/" -LIB_DIRECTORY="${HOME}/.local/lib/" +BIN_DIRECTORY="${HOME}/.local/bin" +LIB_DIRECTORY="${HOME}/.local/lib" SYD_DIRECTORY="${HOME}/.config/systemd/user" -DOTREPO="${HOME}/.config/dotrepo/" +DOTREPO="${HOME}/.config/dotrepo" ENV_FILE="${HOME}/.config/environment" # DEFAULT VALUES @@ -326,7 +326,7 @@ case $1 in ;; esac -[ "$*" = "" ] && die "You must specify a bootstrap file" 10 1 +[ "$*" = "" ] && die "You must specify a bootstrap file or repo" 10 1 if [[ $* =~ ^https://.*\.git$ || $* =~ ^ssh://.*\.git$ ]] then