From bc533bbd7b267073ee2cc1a4429454dad422ca12 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 3 Jun 2017 08:50:20 +0200 Subject: [PATCH] hub: fix hardcoded ruby path rake hardcoded the path to ruby in the installed scripts, which breaks the script when ruby is updated. Just use #!ruby for Haiku, as this works fine and resists updates. --- dev-vcs/hub/hub-1.12.4.recipe | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-vcs/hub/hub-1.12.4.recipe b/dev-vcs/hub/hub-1.12.4.recipe index 5daf2da95..4cbd224d9 100644 --- a/dev-vcs/hub/hub-1.12.4.recipe +++ b/dev-vcs/hub/hub-1.12.4.recipe @@ -6,7 +6,7 @@ all from the command line." HOMEPAGE="http://hub.github.com/" COPYRIGHT="2009-2014 Chris Wanstrath" LICENSE="MIT" -REVISION="2" +REVISION="3" SOURCE_URI="https://github.com/github/hub/archive/v1.12.4.tar.gz" CHECKSUM_SHA256="b7fe404d7dc5f60554f088bec12de5e80229331430ea0ced46d5bf89ecae5117" @@ -40,6 +40,8 @@ INSTALL() { rake install PREFIX=$prefix + sed -i -e "s/#!.*ruby/#!ruby/" $binDir/hub + # Fixup some hardcoded paths… mkdir -p $docDir mv $prefix/share/man $manDir