diff options
Diffstat (limited to '')
-rwxr-xr-x | backup_gitconfig.sh | 2 |
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" ~ |