Skip to content

Commit

Permalink
push: fix missing 'fi'
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiew committed Jul 15, 2019
1 parent fcc3d3a commit 4288ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion push
Expand Up @@ -72,10 +72,10 @@ if [[ "$remote_url" =~ "github.com" ]]; then
repo_name=$(echo $remote_url | sed $regEx)
github_url="$url$repo_name/compare/$refs"
if [ "$GIT_FRIENDLY_NO_COPY_URL_AFTER_PUSH" != "true" ]; then

copied="\nCompare URL copied to clipboard:"
which pbcopy >& /dev/null && echo $github_url | pbcopy && echo -e "$copied"
which xclip >& /dev/null && echo $github_url | xclip -selection clipboard && echo -e "$copied"
fi

echo $github_url
fi
Expand Down

0 comments on commit 4288ffe

Please sign in to comment.