Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelcohn committed Apr 22, 2015
1 parent f2ea273 commit 23dbfff
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/shellfire/fatten/bootstrap2.snippet
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@ _program_fattening_declares()
local IFS=' '
for declares in "$@"
do
local output=true
for alreadyDeclared in $_program_fattening_declaredNames
do
if [ "$alreadyDeclared" = "$declares" ]; then
return 0
output=false
break
fi
done
_program_fattening_declaredNames="$_program_fattening_declaredNames $declares"
if $output; then
_program_fattening_declaredNames="$_program_fattening_declaredNames $declares"
fi
done
}

Expand Down Expand Up @@ -75,7 +79,7 @@ _program_fattening_outputVariables()
# _program_path deliberately omitted
_program_fattening_declares \
_program_namespace \
_program_ignore_dependencies \
_program_ignoreDependencies \
_program_entrypoint

_program_fattening_outputVariables \
Expand Down

0 comments on commit 23dbfff

Please sign in to comment.