diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-04-16 01:39:30 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-04-16 01:39:30 +0300 |
commit | 197482d030b024f09ff9f7f038a11f35cb8021fd (patch) | |
tree | 8fc689b70995cc2bc06dbb46764efcb489bea380 | |
parent | str_replace*: proper escaping in sed patterns (diff) | |
download | linux-home-197482d030b024f09ff9f7f038a11f35cb8021fd.tar.gz linux-home-197482d030b024f09ff9f7f038a11f35cb8021fd.zip |
backup_gitconfig.sh -> configure_git.sh
Diffstat (limited to '')
-rwxr-xr-x | configure_git.sh (renamed from backup_gitconfig.sh) | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backup_gitconfig.sh b/configure_git.sh index d0224a5..36beda2 100755 --- a/backup_gitconfig.sh +++ b/configure_git.sh @@ -2,5 +2,6 @@ set -o errexit -o nounset -o pipefail -script_dir="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" && pwd )" +script_dir="$( dirname -- "${BASH_SOURCE[0]}" )" +script_dir="$( cd -- "$script_dir" && pwd )" cp --remove-destination -- "$script_dir/%HOME%/.gitconfig" ~ |