Squashed commit of the following:

commit 6fcb96b80167f5004d0d22bea5612d6e205938a5
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 25 10:13:57 2014 +0200

    rm debug lines

commit ec9bca9117a258a7ba8a60404d049c1ad7674cb3
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 25 10:10:26 2014 +0200

    debug

commit a057d294d2a6f1acb3b50b6592e8ea544b0d78c7
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 25 10:05:59 2014 +0200

    fix array interpolation, add missing quotes

commit 2e986f3579a2e435a6f82ce6f43f30d38c462a2a
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 25 09:59:00 2014 +0200

    fix print output

commit ce2846438187263e0dad10abc87c779864bbd545
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 25 09:47:41 2014 +0200

    local can only be used in a function

commit 6698559b2f21ee21bb802164c6983c1985505d43
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 25 09:46:24 2014 +0200

    do not use a function, it sucks when returning arrays

commit b5293f6386760e8dfc24ceff0d0ee9956c034ac7
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 25 09:32:54 2014 +0200

    use single quotes

commit 493060863f3d0a7bdbbc395e35f47edb7d8a75d5
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 25 09:29:30 2014 +0200

    fix tag order

commit 799340fb4b0f1c3a5c5518dfc68a0a8a1ecb4d38
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 25 09:23:29 2014 +0200

    boy, my bash is so rusty

commit 000fb4e45b5c48879eb982d1a02e161fcea70544
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 25 09:20:31 2014 +0200

    fix build_flags function

commit b0aa2076563116983866345114cd65ab828bb19a
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 25 09:14:40 2014 +0200

    use GO_GIT_DESCRIBE_SYMBOL

commit dc5e568fcb669a5dd2cd692c4899cb2dbede1403
Merge: cd3ebcd 43f7b5f
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Wed Jul 23 12:50:20 2014 +0200

    Merge branch 'master' of git://github.com/kr/heroku-buildpack-go

    Conflicts:
    	bin/compile

commit cd3ebcd125a1ab19ea3076e259883218af8514d7
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Mon Jul 21 10:44:38 2014 +0200

    export GIT_DIR as HEROKU_GIT_DIR so the makefile can use it

commit c770426d3e9913fbefeed6a56c15e9c71e691bd8
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 18 21:07:38 2014 +0200

    but only if there is a heroku target

commit 948938dfcee14b0f0c57b6c17281ad3058c07513
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 18 20:49:11 2014 +0200

    allow custom build process if there is a makefile