Skip to content

Commit

Permalink
HaikuPorter/ShellScriptlet.py: Fixed infinite recursion (#294)
Browse files Browse the repository at this point in the history
Fixes #293

Co-authored-by: Ilmari "ilzu" Siiteri <[email protected]>
  • Loading branch information
ilzu and Ilmari "ilzu" Siiteri authored Sep 2, 2024
1 parent 651fe61 commit 63d44b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HaikuPorter/ShellScriptlets.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def getShellVariableSetters(shellVariables):
CMAKE=$portPackageLinksDir/cmd~cmake/bin/cmake
if [ ! -f $CMAKE ]; then
CMAKE=$(command -v cmake)
CMAKE=$(type -Pp cmake)
fi
$CMAKE "$@"
Expand All @@ -348,7 +348,7 @@ def getShellVariableSetters(shellVariables):
MESON=$portPackageLinksDir/cmd~meson/bin/meson
if [ ! -f $MESON ]; then
MESON=$(command -v meson)
MESON=$(type -Pp meson)
fi
$MESON --wrap-mode=nodownload "$@"
Expand Down

0 comments on commit 63d44b8

Please sign in to comment.