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
|
#!/bin/bash
|
||||||
|
|
||||||
# Variables
|
|
||||||
realpath="$(readlink -f "$0")"
|
|
||||||
|
|
||||||
# cd
|
# cd
|
||||||
cd "${HOME}/.config/$(basename "$realpath")" || exit
|
cd "${HOME}/.config/$(basename "$(readlink -f "$0")")" || exit
|
||||||
unset realpath
|
|
||||||
|
|
||||||
scripts_d=./scripts
|
scripts_d=./scripts
|
||||||
|
|
||||||
|
@ -30,4 +26,3 @@ case "$script" in
|
||||||
"${scripts_d}/"??"-${script}" "$@"
|
"${scripts_d}/"??"-${script}" "$@"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue