Remove trailing slashed from path variables

This commit is contained in:
Yorick Barbanneau 2019-11-24 00:16:56 +01:00
parent 7c5a944148
commit 5cce7f0d3b

View file

@ -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