Remove trailing slashed from path variables
This commit is contained in:
parent
7c5a944148
commit
5cce7f0d3b
1 changed files with 4 additions and 4 deletions
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
# Personnal Dotfiles install script
|
# Personnal Dotfiles install script
|
||||||
|
|
||||||
BIN_DIRECTORY="${HOME}/.local/bin/"
|
BIN_DIRECTORY="${HOME}/.local/bin"
|
||||||
LIB_DIRECTORY="${HOME}/.local/lib/"
|
LIB_DIRECTORY="${HOME}/.local/lib"
|
||||||
SYD_DIRECTORY="${HOME}/.config/systemd/user"
|
SYD_DIRECTORY="${HOME}/.config/systemd/user"
|
||||||
DOTREPO="${HOME}/.config/dotrepo/"
|
DOTREPO="${HOME}/.config/dotrepo"
|
||||||
ENV_FILE="${HOME}/.config/environment"
|
ENV_FILE="${HOME}/.config/environment"
|
||||||
|
|
||||||
# DEFAULT VALUES
|
# DEFAULT VALUES
|
||||||
|
@ -326,7 +326,7 @@ case $1 in
|
||||||
;;
|
;;
|
||||||
esac
|
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$ ]]
|
if [[ $* =~ ^https://.*\.git$ || $* =~ ^ssh://.*\.git$ ]]
|
||||||
then
|
then
|
||||||
|
|
Reference in a new issue