mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user