Skip to content

Commit

Permalink
ensure we don't expand PLUGIN_DATA_ROOT
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed May 8, 2016
1 parent af92914 commit 09a184b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [[ ! -d $PLUGIN_DATA_ROOT ]]; then
fi

if [[ -d "$PLUGIN_DATA_ROOT/*" ]]; then
rm -rf "$PLUGIN_DATA_ROOT/*"
rm -rf "${PLUGIN_DATA_ROOT:?}/*"
fi

case "$1" in
Expand Down

0 comments on commit 09a184b

Please sign in to comment.