Skip to content

Commit

Permalink
Update up.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
tedbauer authored Apr 23, 2024
1 parent ad0a251 commit d1a7c7e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Formula/up.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ def caveats; <<~EOS
end

def post_install
(lib/"up-path-gen").make_relative_symlink(prefix/"Cellar/up/0.1.0/lib/up-path-gen")
(lib/"up.sh").make_relative_symlink(prefix/"Cellar/up/0.1.0/lib/up.sh")
# Assuming you want to link all files within the formula's lib directory
Dir.glob("#{lib}/**/*").each do |file|
ln_sf file, "/usr/local/lib/#{File.basename(file)}"
end
end
end

0 comments on commit d1a7c7e

Please sign in to comment.