summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpush-remotes2
1 files changed, 1 insertions, 1 deletions
diff --git a/push-remotes b/push-remotes
index 6720312..ec63a3b 100755
--- a/push-remotes
+++ b/push-remotes
@@ -11,7 +11,7 @@
function _git() { git --git-dir="$gitdir" "$@"; }
-gitdir="$1"
+gitdir=$(realpath "$1")
remotes=$(_git remote)
if [[ -n "$remotes" ]]; then