1
0
Fork 0
forked from ahurac/dotfiles

updateall : suppression de la variable realpath

This commit is contained in:
Hippolyte Chauvin 2023-11-21 16:50:06 +01:00
parent 53febf8df0
commit 573ae6f6ec

View file

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