aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-04-16 01:39:30 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-04-16 01:39:30 +0300
commit197482d030b024f09ff9f7f038a11f35cb8021fd (patch)
tree8fc689b70995cc2bc06dbb46764efcb489bea380
parentstr_replace*: proper escaping in sed patterns (diff)
downloadlinux-home-197482d030b024f09ff9f7f038a11f35cb8021fd.tar.gz
linux-home-197482d030b024f09ff9f7f038a11f35cb8021fd.zip
backup_gitconfig.sh -> configure_git.sh
-rwxr-xr-xconfigure_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" ~