chore: move bower.json removal after popd in dependencies-bower.sh (#934)

The reason for this change is to make things more explicit.

See: https://github.com/resin-io/etcher/pull/923#discussion_r90571316
Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
This commit is contained in:
Juan Cruz Viotti 2016-12-05 11:15:03 -04:00 committed by GitHub
parent e24c2b6466
commit dcf5a5c2f4

View File

@ -59,8 +59,8 @@ if [ -n "$ARGV_PREFIX" ]; then
cp "$PWD/bower.json" "$ARGV_PREFIX"
pushd "$ARGV_PREFIX"
bower install $INSTALL_OPTS
rm bower.json
popd
rm "$ARGV_PREFIX/bower.json"
else
bower install $INSTALL_OPTS
fi