Skip to content

Commit e7a7fca

Browse files
daeho-robotantony
andauthored
Update Formula/d/dart-sass.rb
Co-authored-by: Anton Melnikov <antonsm21@gmail.com>
1 parent 401bb2d commit e7a7fca

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Formula/d/dart-sass.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ def install
4040
# So, here we copy `dartaotruntime` binary to run the compiled aot snapshot
4141
cp Formula["dart-sdk"].opt_libexec/"bin/dartaotruntime", libexec
4242

43-
(bin/"sass").write <<~BASH
44-
#!/bin/bash
45-
exec "#{libexec}/dartaotruntime" "#{libexec}/sass.aot" "$@"
46-
BASH
43+
(bin/"sass").write_env_script libexec/"dartaotruntime", libexec/"sass.aot"
4744
end
4845
end
4946

0 commit comments

Comments
 (0)