Skip to content

Commit

Permalink
use local var
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbtek committed Jan 27, 2016
1 parent 1336300 commit 309613a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cookbooks/nginx/recipes/install-from-binary.bash
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ function install()

function main()
{
APP_FOLDER_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
local -r appFolderPath="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

source "${APP_FOLDER_PATH}/../../../libraries/util.bash"
source "${APP_FOLDER_PATH}/../attributes/default.bash"
source "${appFolderPath}/../../../libraries/util.bash"
source "${appFolderPath}/../attributes/default.bash"

checkRequireSystem
checkRequireRootUser
Expand Down

0 comments on commit 309613a

Please sign in to comment.