git: Fixup massage step to remove bin/perl*
authorFredrik Fornwall <fredrik@fornwall.net>
Tue, 23 Aug 2016 19:47:50 +0000 (15:47 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Tue, 23 Aug 2016 19:47:50 +0000 (15:47 -0400)
packages/git/build.sh

index 4500341..9446059 100755 (executable)
@@ -44,6 +44,10 @@ termux_step_post_make_install () {
 }
 
 termux_step_post_massage () {
+       # Remove perl if the symlink setup in pre_configure
+       # causes it to be included.
+       rm -Rf bin/perl*
+
        if [ ! -f libexec/git-core/git-remote-https ]; then
                echo "ERROR: Built without https support"
                exit 1