Permalink
Browse files

Use stagingdir local variable for better readibility.

  • Loading branch information...
1 parent 923e542 commit 7051c7ec4e1b7c70e2f0ecd9da6eaa8754a3e57c @voxik committed Sep 7, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 rakelib/install.rake
View
@@ -217,11 +217,11 @@ oppropriate command to elevate permissions (eg su, sudo).
stagingdir = BUILD_CONFIG[:stagingdir]
prefixdir = BUILD_CONFIG[:prefixdir]
- install_capi_include "#{BUILD_CONFIG[:stagingdir]}#{BUILD_CONFIG[:include18dir]}",
+ install_capi_include "#{stagingdir}#{BUILD_CONFIG[:include18dir]}",
"#{prefixdir}#{BUILD_CONFIG[:include18dir]}"
- install_capi_include "#{BUILD_CONFIG[:stagingdir]}#{BUILD_CONFIG[:include19dir]}",
+ install_capi_include "#{stagingdir}#{BUILD_CONFIG[:include19dir]}",
"#{prefixdir}#{BUILD_CONFIG[:include19dir]}"
- install_capi_include "#{BUILD_CONFIG[:stagingdir]}#{BUILD_CONFIG[:include20dir]}",
+ install_capi_include "#{stagingdir}#{BUILD_CONFIG[:include20dir]}",
"#{prefixdir}#{BUILD_CONFIG[:include20dir]}"
install_runtime "#{stagingdir}#{BUILD_CONFIG[:runtimedir]}", prefixdir

0 comments on commit 7051c7e

Please sign in to comment.