aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/backup_gitconfig.sh
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-01-15 23:28:53 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-01-15 23:28:53 +0300
commit0fb4ee5b98e1d06ed1194c6264fd3c6e781d9384 (patch)
treed5bbdfc2636554907fe14a26ca4d2046c560deef /backup_gitconfig.sh
parentadd branch_eol_normalized (diff)
downloadlinux-home-0fb4ee5b98e1d06ed1194c6264fd3c6e781d9384.tar.gz
linux-home-0fb4ee5b98e1d06ed1194c6264fd3c6e781d9384.zip
bugfix
Diffstat (limited to 'backup_gitconfig.sh')
-rwxr-xr-xbackup_gitconfig.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/backup_gitconfig.sh b/backup_gitconfig.sh
index 30d13ea..d0224a5 100755
--- a/backup_gitconfig.sh
+++ b/backup_gitconfig.sh
@@ -2,5 +2,5 @@
set -o errexit -o nounset -o pipefail
-script_dir="$( cd "$( dirname -- "${BASH_SOURCE[0]}" )" && pwd )"
+script_dir="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" && pwd )"
cp --remove-destination -- "$script_dir/%HOME%/.gitconfig" ~