diff --git a/scripts/unix/dependencies-bower.sh b/scripts/unix/dependencies-bower.sh index 04626124..f71540fe 100755 --- a/scripts/unix/dependencies-bower.sh +++ b/scripts/unix/dependencies-bower.sh @@ -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