Skip to content

Commit

Permalink
fix: prefix path for .tgz
Browse files Browse the repository at this point in the history
  • Loading branch information
FirePing32 committed Aug 24, 2024
1 parent f5f721a commit fec41a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions metacall.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ def install
"PARENT=$(dirname \"${SCRIPT_DIR}\")\n",
"if [ -f \"${PARENT}/metacallcli\" ]; then\n",
" PREFIX=\"${PARENT}\"\n",
"elif [ -f \"metacall-core/metacallcli\" ]; then",
" PREFIX=\"metacall-core\"",
"else\n",
" PREFIX=\"${PARENT}/Cellar/metacall/#{version}\"\n",
"fi\n",
Expand Down

0 comments on commit fec41a8

Please sign in to comment.