Commit 728e1a7e authored by Casey Strouse's avatar Casey Strouse

Abstract php binary path

parent 269fbdf5
......@@ -12,7 +12,7 @@ class Composer < Package
binary_sha256 ({
})
depends_on 'php7' unless File.exists? '/usr/local/bin/php'
depends_on 'php7' unless File.exists? "#{CREW_PREFIX}/bin/php"
def self.install
system "php -r \"copy('https://getcomposer.org/installer', 'composer-setup.php');\""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment