diff --git a/makedeb b/makedeb index 41b26bc..9b5b167 100755 --- a/makedeb +++ b/makedeb @@ -261,7 +261,7 @@ function extract_source_single { if [[ -n "${frag}" ]] ; then case "${frag%%=*}" in "branch") - ref="refs/heads/${frag##*=}" + ref="refs/remotes/origin/${frag##*=}" ;; "tag") ref="refs/tags/${frag##*=}"