mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-07 01:18:02 +00:00
add prefix arg to 'rake install'
This commit is contained in:
1 parent
c0fc298082
commit
abb49664f9
1 file changed
+6
-1
@@ -72,7 +72,12 @@ file_d $STARTER_DOWNLOAD_README => [$STARTER_README] do
|
||||
end
|
||||
|
||||
task :install => [:downloads] do
|
||||
system %{cd #{$TOOLS_DOWNLOAD} && sudo sh ./install-tools }
|
||||
if ENV['prefix']
|
||||
prefix = "--prefix #{ENV['prefix']}"
|
||||
else
|
||||
prefix = ''
|
||||
end
|
||||
system %{cd #{$TOOLS_DOWNLOAD} && sudo sh ./install-tools #{prefix} }
|
||||
end
|
||||
|
||||
task :test => [:build] do
|
||||
|
||||
Reference in new issue
Block a user