mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
lilypond: fix secondaryArch (x86) build (#7888)
When building for a secondaryArch, haikuporter prepends $PATH with the secondaryArch binDir, so just removing the first 2 characters for removing '.' from $PATH doesn't work. This makes that a bit more robust. (Having '.' at the end would still not work though.)
This commit is contained in:
@@ -163,7 +163,7 @@ BUILD()
|
||||
|
||||
# CPU_COUNT=$jobs is not used because it causes hangs
|
||||
# strip the current directory (.) from PATH, it disallows find -execdir
|
||||
PATH=${PATH:2} make $jobArgs doc
|
||||
PATH=${PATH/.:/} make $jobArgs doc
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
@@ -171,7 +171,7 @@ INSTALL()
|
||||
cd build
|
||||
make install
|
||||
make install-bytecode
|
||||
PATH=${PATH:2} make install-doc
|
||||
PATH=${PATH/.:/} make install-doc
|
||||
|
||||
# language specific doc packages
|
||||
for lang in "${languages[@]}"; do
|
||||
|
||||
Reference in New Issue
Block a user