forked from ahurac/dotfiles
updateall : suppression de la variable realpath
This commit is contained in:
parent
53febf8df0
commit
573ae6f6ec
1 changed files with 1 additions and 6 deletions
|
@ -1,11 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Variables
|
||||
realpath="$(readlink -f "$0")"
|
||||
|
||||
# cd
|
||||
cd "${HOME}/.config/$(basename "$realpath")" || exit
|
||||
unset realpath
|
||||
cd "${HOME}/.config/$(basename "$(readlink -f "$0")")" || exit
|
||||
|
||||
scripts_d=./scripts
|
||||
|
||||
|
@ -30,4 +26,3 @@ case "$script" in
|
|||
"${scripts_d}/"??"-${script}" "$@"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in a new issue